EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5,TParam6> Oluşturucular

Tanım

Aşırı Yüklemeler

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5,TParam6>(EventId, LogLevel, Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception>)

Bir olay tanımı örneği oluşturur.

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5,TParam6>(EventId, LogLevel, String, Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception>)

Bir olay tanımı örneği oluşturur.

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5,TParam6>(ILoggingOptions, EventId, LogLevel, String, Func<LogLevel,Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception>>)

Bir olay tanımı örneği oluşturur.

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5,TParam6>(EventId, LogLevel, Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception>)

Bir olay tanımı örneği oluşturur.

public EventDefinition (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, Action<Microsoft.Extensions.Logging.ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception> logAction);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6> : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * Action<Microsoft.Extensions.Logging.ILogger, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, Exception> -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6>
Public Sub New (eventId As EventId, level As LogLevel, logAction As Action(Of ILogger, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, Exception))

Parametreler

eventId
EventId

EventId.

level
LogLevel

LogLevelOlayın günlüğe kaydedileceğini.

logAction
Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception>

Olayı günlüğe kaydetmeye uygun önbelleğe alınmış bir temsilci.

Şunlara uygulanır

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5,TParam6>(EventId, LogLevel, String, Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception>)

Bir olay tanımı örneği oluşturur.

public EventDefinition (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode, Action<Microsoft.Extensions.Logging.ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception> logAction);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6> : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string * Action<Microsoft.Extensions.Logging.ILogger, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, Exception> -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6>
Public Sub New (eventId As EventId, level As LogLevel, eventIdCode As String, logAction As Action(Of ILogger, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, Exception))

Parametreler

eventId
EventId

EventId.

level
LogLevel

LogLevelOlayın günlüğe kaydedileceğini.

eventIdCode
String

ConfigureWanings'e geçirilen kodu temsil eden bir dize.

logAction
Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception>

Olayı günlüğe kaydetmeye uygun önbelleğe alınmış bir temsilci.

Şunlara uygulanır

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5,TParam6>(ILoggingOptions, EventId, LogLevel, String, Func<LogLevel,Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception>>)

Bir olay tanımı örneği oluşturur.

public EventDefinition (Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions loggingOptions, Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode, Func<Microsoft.Extensions.Logging.LogLevel,Action<Microsoft.Extensions.Logging.ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception>> logActionFunc);
public EventDefinition (Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions loggingOptions, Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode, Func<Microsoft.Extensions.Logging.LogLevel,Action<Microsoft.Extensions.Logging.ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception?>> logActionFunc);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6> : Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions * Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string * Func<Microsoft.Extensions.Logging.LogLevel, Action<Microsoft.Extensions.Logging.ILogger, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, Exception>> -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6>
Public Sub New (loggingOptions As ILoggingOptions, eventId As EventId, level As LogLevel, eventIdCode As String, logActionFunc As Func(Of LogLevel, Action(Of ILogger, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, Exception)))

Parametreler

loggingOptions
ILoggingOptions

Günlüğe kaydetme seçenekleri.

eventId
EventId

EventId.

level
LogLevel

LogLevelOlayın günlüğe kaydedileceğini.

eventIdCode
String

'a geçirilen kodu temsil eden bir ConfigureWarnings(Action<WarningsConfigurationBuilder>) dize.

logActionFunc
Func<LogLevel,Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Exception>>

Olayı günlüğe kaydetmeye uygun önbelleğe alınmış bir temsilci oluşturma işlevi.

Şunlara uygulanır