Dela via


EventDefinitionBase Constructors

Definition

Overloads

EventDefinitionBase(EventId, LogLevel)

Creates an event definition instance.

EventDefinitionBase(EventId, LogLevel, String)

Creates an event definition instance.

EventDefinitionBase(ILoggingOptions, EventId, LogLevel, String)

Creates an event definition instance.

EventDefinitionBase(EventId, LogLevel)

Creates an event definition instance.

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)

Parameters

eventId
EventId

The EventId.

level
LogLevel

The LogLevel at which the event will be logged.

Applies to

EventDefinitionBase(EventId, LogLevel, String)

Creates an event definition instance.

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)

Parameters

eventId
EventId

The EventId.

level
LogLevel

The LogLevel at which the event will be logged.

eventIdCode
String

A string representing the code that should be passed to ConfigureWanings.

Applies to

EventDefinitionBase(ILoggingOptions, EventId, LogLevel, String)

Creates an event definition instance.

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)

Parameters

loggingOptions
ILoggingOptions

Logging options.

eventId
EventId

The EventId.

level
LogLevel

The LogLevel at which the event will be logged.

eventIdCode
String

A string representing the code that should be passed to ConfigureWarnings(Action<WarningsConfigurationBuilder>).

Applies to