EventDefinitionBase Oluşturucular

Tanım

Aşırı Yüklemeler

EventDefinitionBase(EventId, LogLevel)

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

EventDefinitionBase(EventId, LogLevel, String)

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

EventDefinitionBase(ILoggingOptions, EventId, LogLevel, String)

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

EventDefinitionBase(EventId, LogLevel)

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

protected EventDefinitionBase (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase
Protected Sub New (eventId As EventId, level As LogLevel)

Parametreler

eventId
EventId

EventId.

level
LogLevel

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

Şunlara uygulanır

EventDefinitionBase(EventId, LogLevel, String)

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

protected EventDefinitionBase (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase
Protected Sub New (eventId As EventId, level As LogLevel, eventIdCode As String)

Parametreler

eventId
EventId

EventId.

level
LogLevel

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

eventIdCode
String

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

Şunlara uygulanır

EventDefinitionBase(ILoggingOptions, EventId, LogLevel, String)

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

protected EventDefinitionBase (Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions loggingOptions, Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase : Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions * Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase
Protected Sub New (loggingOptions As ILoggingOptions, eventId As EventId, level As LogLevel, eventIdCode As String)

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.

Şunlara uygulanır