다음을 통해 공유


EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5> 생성자

정의

오버로드

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5>(EventId, LogLevel, Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,Exception>)

이벤트 정의 instance 만듭니다.

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5>(EventId, LogLevel, String, Action<ILogger,TParam1,TParam2,TParam3,TParam4, TParam5,Exception>)

이벤트 정의 instance 만듭니다.

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5>(ILoggingOptions, EventId, LogLevel, String, Func<LogLevel,Action<ILogger,TParam1, TParam2,TParam3,TParam4,TParam5,Exception>>)

이벤트 정의 instance 만듭니다.

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5>(EventId, LogLevel, Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,Exception>)

이벤트 정의 instance 만듭니다.

public EventDefinition (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, Action<Microsoft.Extensions.Logging.ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,Exception> logAction);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5> : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * Action<Microsoft.Extensions.Logging.ILogger, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, Exception> -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5>
Public Sub New (eventId As EventId, level As LogLevel, logAction As Action(Of ILogger, TParam1, TParam2, TParam3, TParam4, TParam5, Exception))

매개 변수

eventId
EventId

EventId

level
LogLevel

LogLevel 이벤트가 기록될 입니다.

logAction
Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,Exception>

이벤트 로깅을 위한 캐시된 대리자입니다.

적용 대상

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5>(EventId, LogLevel, String, Action<ILogger,TParam1,TParam2,TParam3,TParam4, TParam5,Exception>)

이벤트 정의 instance 만듭니다.

public EventDefinition (Microsoft.Extensions.Logging.EventId eventId, Microsoft.Extensions.Logging.LogLevel level, string eventIdCode, Action<Microsoft.Extensions.Logging.ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,Exception> logAction);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5> : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string * Action<Microsoft.Extensions.Logging.ILogger, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, Exception> -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5>
Public Sub New (eventId As EventId, level As LogLevel, eventIdCode As String, logAction As Action(Of ILogger, TParam1, TParam2, TParam3, TParam4, TParam5, Exception))

매개 변수

eventId
EventId

EventId

level
LogLevel

LogLevel 이벤트가 기록될 입니다.

eventIdCode
String

ConfigureWanings에 전달되어야 하는 코드를 나타내는 문자열입니다.

logAction
Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,Exception>

이벤트 로깅을 위한 캐시된 대리자입니다.

적용 대상

EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5>(ILoggingOptions, EventId, LogLevel, String, Func<LogLevel,Action<ILogger,TParam1, TParam2,TParam3,TParam4,TParam5,Exception>>)

이벤트 정의 instance 만듭니다.

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,TParam5,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,TParam5,Exception?>> logActionFunc);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5> : 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, 'TParam5, Exception>> -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5>
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, TParam5, Exception)))

매개 변수

loggingOptions
ILoggingOptions

로깅 옵션.

eventId
EventId

EventId

level
LogLevel

LogLevel 이벤트가 기록될 입니다.

eventIdCode
String

에 전달 ConfigureWarnings(Action<WarningsConfigurationBuilder>)되어야 하는 코드를 나타내는 문자열입니다.

logActionFunc
Func<LogLevel,Action<ILogger,TParam1,TParam2,TParam3,TParam4,TParam5,Exception>>

이벤트를 로깅하기 위해 캐시된 대리자를 만드는 함수입니다.

적용 대상