EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5> 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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))
매개 변수
적용 대상
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))
매개 변수
- eventIdCode
- String
ConfigureWanings에 전달되어야 하는 코드를 나타내는 문자열입니다.
적용 대상
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
로깅 옵션.
- eventIdCode
- String
에 전달 ConfigureWarnings(Action<WarningsConfigurationBuilder>)되어야 하는 코드를 나타내는 문자열입니다.
이벤트를 로깅하기 위해 캐시된 대리자를 만드는 함수입니다.
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Entity Framework