EventDefinition<TParam1,TParam2,TParam3,TParam4> Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| EventDefinition<TParam1,TParam2,TParam3,TParam4>(EventId, LogLevel, Action<ILogger,TParam1,TParam2,TParam3,TParam4,Exception>) |
Erstellt eine Ereignisdefinitionsinstanz. |
| EventDefinition<TParam1,TParam2,TParam3,TParam4>(EventId, LogLevel, String, Action<ILogger,TParam1,TParam2,TParam3,TParam4,Exception>) |
Erstellt eine Ereignisdefinitionsinstanz. |
| EventDefinition<TParam1,TParam2,TParam3,TParam4>(ILoggingOptions, EventId, LogLevel, String, Func<LogLevel,Action<ILogger,TParam1, TParam2,TParam3,TParam4,Exception>>) |
Erstellt eine Ereignisdefinitionsinstanz. |
EventDefinition<TParam1,TParam2,TParam3,TParam4>(EventId, LogLevel, Action<ILogger,TParam1,TParam2,TParam3,TParam4,Exception>)
- Quelle:
- EventDefinition````.cs
- Quelle:
- EventDefinition````.cs
Erstellt eine Ereignisdefinitionsinstanz.
public EventDefinition(Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, Action<Microsoft.Extensions.Logging.ILogger,TParam1,TParam2,TParam3,TParam4,Exception> logAction);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4> : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * Action<Microsoft.Extensions.Logging.ILogger, 'TParam1, 'TParam2, 'TParam3, 'TParam4, Exception> -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4>
Public Sub New (eventId As EventId, level As LogLevel, logAction As Action(Of ILogger, TParam1, TParam2, TParam3, TParam4, Exception))
Parameter
Ein zwischengespeicherter Delegat zum Protokollieren des Ereignisses.
Gilt für:
EventDefinition<TParam1,TParam2,TParam3,TParam4>(EventId, LogLevel, String, Action<ILogger,TParam1,TParam2,TParam3,TParam4,Exception>)
- Quelle:
- EventDefinition````.cs
- Quelle:
- EventDefinition````.cs
Erstellt eine Ereignisdefinitionsinstanz.
public EventDefinition(Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode, Action<Microsoft.Extensions.Logging.ILogger,TParam1,TParam2,TParam3,TParam4,Exception> logAction);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4> : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string * Action<Microsoft.Extensions.Logging.ILogger, 'TParam1, 'TParam2, 'TParam3, 'TParam4, Exception> -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4>
Public Sub New (eventId As EventId, level As LogLevel, eventIdCode As String, logAction As Action(Of ILogger, TParam1, TParam2, TParam3, TParam4, Exception))
Parameter
- eventIdCode
- String
Eine Zeichenfolge, die den Code darstellt, der an ConfigureWanings übergeben werden soll.
Ein zwischengespeicherter Delegat zum Protokollieren des Ereignisses.
Gilt für:
EventDefinition<TParam1,TParam2,TParam3,TParam4>(ILoggingOptions, EventId, LogLevel, String, Func<LogLevel,Action<ILogger,TParam1, TParam2,TParam3,TParam4,Exception>>)
- Quelle:
- EventDefinition````.cs
- Quelle:
- EventDefinition````.cs
- Quelle:
- EventDefinition````.cs
- Quelle:
- EventDefinition````.cs
- Quelle:
- EventDefinition````.cs
- Quelle:
- EventDefinition````.cs
- Quelle:
- EventDefinition````.cs
- Quelle:
- EventDefinition````.cs
- Quelle:
- EventDefinition````.cs
Erstellt eine Ereignisdefinitionsinstanz.
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,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,Exception>> logActionFunc);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4> : 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, Exception>> -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4>
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, Exception)))
Parameter
- loggingOptions
- ILoggingOptions
Protokollierungsoptionen.
- eventIdCode
- String
Eine Zeichenfolge, die den Code darstellt, der ConfigureWarnings(Action<WarningsConfigurationBuilder>)an .
Funktion zum Erstellen eines zwischengespeicherten Delegaten zum Protokollieren des Ereignisses.