Share via


FallbackEventDefinition Constructors

Definition

Overloads

FallbackEventDefinition(EventId, LogLevel, String)

Creates an event definition instance.

FallbackEventDefinition(EventId, LogLevel, String, String)

Creates an event definition instance.

FallbackEventDefinition(ILoggingOptions, EventId, LogLevel, String, String)

Creates an event definition instance.

FallbackEventDefinition(EventId, LogLevel, String)

Creates an event definition instance.

public FallbackEventDefinition (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string messageFormat);
new Microsoft.EntityFrameworkCore.Diagnostics.FallbackEventDefinition : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string -> Microsoft.EntityFrameworkCore.Diagnostics.FallbackEventDefinition
Public Sub New (eventId As EventId, level As LogLevel, messageFormat As String)

Parameters

eventId
EventId

The EventId.

level
LogLevel

The LogLevel at which the event will be logged.

messageFormat
String

The parameterized message definition.

Applies to

FallbackEventDefinition(EventId, LogLevel, String, String)

Creates an event definition instance.

public FallbackEventDefinition (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode, string messageFormat);
new Microsoft.EntityFrameworkCore.Diagnostics.FallbackEventDefinition : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string * string -> Microsoft.EntityFrameworkCore.Diagnostics.FallbackEventDefinition
Public Sub New (eventId As EventId, level As LogLevel, eventIdCode As String, messageFormat 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.

messageFormat
String

The parameterized message definition.

Applies to

FallbackEventDefinition(ILoggingOptions, EventId, LogLevel, String, String)

Creates an event definition instance.

public FallbackEventDefinition (Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions loggingOptions, Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode, string messageFormat);
new Microsoft.EntityFrameworkCore.Diagnostics.FallbackEventDefinition : Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions * Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string * string -> Microsoft.EntityFrameworkCore.Diagnostics.FallbackEventDefinition
Public Sub New (loggingOptions As ILoggingOptions, eventId As EventId, level As LogLevel, eventIdCode As String, messageFormat 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>).

messageFormat
String

The parameterized message definition.

Applies to