다음을 통해 공유


LoggingEnrichmentExtensions.EnableEnrichment 메서드

정의

오버로드

EnableEnrichment(ILoggingBuilder)

로깅 인프라 내에서 보강 기능을 사용하도록 설정합니다.

EnableEnrichment(ILoggingBuilder, IConfigurationSection)

로깅 인프라 내에서 보강 기능을 사용하도록 설정합니다.

EnableEnrichment(ILoggingBuilder, Action<LoggerEnrichmentOptions>)

로깅 인프라 내에서 보강 기능을 사용하도록 설정합니다.

EnableEnrichment(ILoggingBuilder)

Source:
LoggingEnrichmentExtensions.cs
Source:
LoggingEnrichmentExtensions.cs

로깅 인프라 내에서 보강 기능을 사용하도록 설정합니다.

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

매개 변수

builder
ILoggingBuilder

로깅을 추가할 종속성 주입 컨테이너입니다.

반환

builder값입니다.

적용 대상

EnableEnrichment(ILoggingBuilder, IConfigurationSection)

Source:
LoggingEnrichmentExtensions.cs
Source:
LoggingEnrichmentExtensions.cs

로깅 인프라 내에서 보강 기능을 사용하도록 설정합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggingBuilder ^ EnableEnrichment(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.Logging.ILoggingBuilder EnableEnrichment (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member EnableEnrichment : Microsoft.Extensions.Logging.ILoggingBuilder * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function EnableEnrichment (builder As ILoggingBuilder, section As IConfigurationSection) As ILoggingBuilder

매개 변수

builder
ILoggingBuilder

로깅을 추가할 종속성 주입 컨테이너입니다.

section
IConfigurationSection

LoggerEnrichmentOptions포함하는 구성 섹션입니다.

반환

builder값입니다.

적용 대상

EnableEnrichment(ILoggingBuilder, Action<LoggerEnrichmentOptions>)

Source:
LoggingEnrichmentExtensions.cs
Source:
LoggingEnrichmentExtensions.cs

로깅 인프라 내에서 보강 기능을 사용하도록 설정합니다.

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

매개 변수

builder
ILoggingBuilder

로깅을 추가할 종속성 주입 컨테이너입니다.

configure
Action<LoggerEnrichmentOptions>

옵션을 미세 조정합니다.

반환

builder값입니다.

적용 대상