FallbackEventDefinition Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
- 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.
- eventIdCode
- String
A string representing the code that should be passed to ConfigureWarnings(Action<WarningsConfigurationBuilder>).
- messageFormat
- String
The parameterized message definition.
Applies to
Entity Framework