다음을 통해 공유


EventLoggerFactoryExtensions.AddEventLog 메서드

정의

오버로드

AddEventLog(ILoggingBuilder)

'EventLog'라는 이벤트 로거를 팩터리에 추가합니다.

AddEventLog(ILoggingBuilder, EventLogSettings)

이벤트 로거를 추가합니다. settings 사용하여 특정 LogLevel로깅을 사용하도록 설정합니다.

AddEventLog(ILoggingBuilder, Action<EventLogSettings>)

이벤트 로거를 추가합니다. configure 사용하여 특정 LogLevel로깅을 사용하도록 설정합니다.

AddEventLog(ILoggingBuilder)

Source:
EventLoggerFactoryExtensions.cs
Source:
EventLoggerFactoryExtensions.cs
Source:
EventLoggerFactoryExtensions.cs
Source:
EventLoggerFactoryExtensions.cs
Source:
EventLoggerFactoryExtensions.cs

'EventLog'라는 이벤트 로거를 팩터리에 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddEventLog(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddEventLog (this Microsoft.Extensions.Logging.ILoggingBuilder builder);
static member AddEventLog : Microsoft.Extensions.Logging.ILoggingBuilder -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddEventLog (builder As ILoggingBuilder) As ILoggingBuilder

매개 변수

builder
ILoggingBuilder

확장 메서드 인수입니다.

반환

추가 호출을 연결할 수 있도록 ILoggingBuilder.

적용 대상

AddEventLog(ILoggingBuilder, EventLogSettings)

Source:
EventLoggerFactoryExtensions.cs
Source:
EventLoggerFactoryExtensions.cs
Source:
EventLoggerFactoryExtensions.cs
Source:
EventLoggerFactoryExtensions.cs
Source:
EventLoggerFactoryExtensions.cs

이벤트 로거를 추가합니다. settings 사용하여 특정 LogLevel로깅을 사용하도록 설정합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddEventLog(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, Microsoft::Extensions::Logging::EventLog::EventLogSettings ^ settings);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddEventLog (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Logging.EventLog.EventLogSettings settings);
static member AddEventLog : Microsoft.Extensions.Logging.ILoggingBuilder * Microsoft.Extensions.Logging.EventLog.EventLogSettings -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddEventLog (builder As ILoggingBuilder, settings As EventLogSettings) As ILoggingBuilder

매개 변수

builder
ILoggingBuilder

확장 메서드 인수입니다.

반환

추가 호출을 연결할 수 있도록 ILoggingBuilder.

적용 대상

AddEventLog(ILoggingBuilder, Action<EventLogSettings>)

Source:
EventLoggerFactoryExtensions.cs
Source:
EventLoggerFactoryExtensions.cs
Source:
EventLoggerFactoryExtensions.cs
Source:
EventLoggerFactoryExtensions.cs
Source:
EventLoggerFactoryExtensions.cs

이벤트 로거를 추가합니다. configure 사용하여 특정 LogLevel로깅을 사용하도록 설정합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddEventLog(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, Action<Microsoft::Extensions::Logging::EventLog::EventLogSettings ^> ^ configure);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddEventLog (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Action<Microsoft.Extensions.Logging.EventLog.EventLogSettings> configure);
static member AddEventLog : Microsoft.Extensions.Logging.ILoggingBuilder * Action<Microsoft.Extensions.Logging.EventLog.EventLogSettings> -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddEventLog (builder As ILoggingBuilder, configure As Action(Of EventLogSettings)) As ILoggingBuilder

매개 변수

builder
ILoggingBuilder

확장 메서드 인수입니다.

configure
Action<EventLogSettings>

EventLogSettings구성하는 대리자입니다.

반환

추가 호출을 연결할 수 있도록 ILoggingBuilder.

적용 대상