다음을 통해 공유


EventDefinition<TParam> 생성자

정의

오버로드

EventDefinition<TParam>(EventId, LogLevel, Action<ILogger,TParam,Exception>)

이벤트 정의 instance 만듭니다.

EventDefinition<TParam>(EventId, LogLevel, String, Action<ILogger,TParam,Exception>)

이벤트 정의 instance 만듭니다.

EventDefinition<TParam>(ILoggingOptions, EventId, LogLevel, String, Func<LogLevel,Action<ILogger,TParam,Exception>>)

이벤트 정의 instance 만듭니다.

EventDefinition<TParam>(EventId, LogLevel, Action<ILogger,TParam,Exception>)

Source:
EventDefinition%60.cs
Source:
EventDefinition%60.cs

이벤트 정의 instance 만듭니다.

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

매개 변수

eventId
EventId

EventId

level
LogLevel

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

logAction
Action<ILogger,TParam,Exception>

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

적용 대상

EventDefinition<TParam>(EventId, LogLevel, String, Action<ILogger,TParam,Exception>)

Source:
EventDefinition%60.cs
Source:
EventDefinition%60.cs

이벤트 정의 instance 만듭니다.

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

매개 변수

eventId
EventId

EventId

level
LogLevel

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

eventIdCode
String

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

logAction
Action<ILogger,TParam,Exception>

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

적용 대상

EventDefinition<TParam>(ILoggingOptions, EventId, LogLevel, String, Func<LogLevel,Action<ILogger,TParam,Exception>>)

Source:
EventDefinition%60.cs
Source:
EventDefinition%60.cs
Source:
EventDefinition%60.cs
Source:
EventDefinition%60.cs
Source:
EventDefinition%60.cs
Source:
EventDefinition%60.cs
Source:
EventDefinition%60.cs

이벤트 정의 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,TParam,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,TParam,Exception?>> logActionFunc);
new Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'Param> : Microsoft.EntityFrameworkCore.Diagnostics.ILoggingOptions * Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.LogLevel * string * Func<Microsoft.Extensions.Logging.LogLevel, Action<Microsoft.Extensions.Logging.ILogger, 'Param, Exception>> -> Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition<'Param>
Public Sub New (loggingOptions As ILoggingOptions, eventId As EventId, level As LogLevel, eventIdCode As String, logActionFunc As Func(Of LogLevel, Action(Of ILogger, TParam, Exception)))

매개 변수

loggingOptions
ILoggingOptions

로깅 옵션.

eventId
EventId

EventId

level
LogLevel

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

eventIdCode
String

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

logActionFunc
Func<LogLevel,Action<ILogger,TParam,Exception>>

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

적용 대상