다음을 통해 공유


ApplicationEnricherServiceCollectionExtensions.AddServiceLogEnricher 메서드

정의

오버로드

AddServiceLogEnricher(IServiceCollection)

서비스 보강자의 instance 에 IServiceCollection추가합니다.

AddServiceLogEnricher(IServiceCollection, IConfigurationSection)

서비스 보강자의 instance 에 IServiceCollection추가합니다.

AddServiceLogEnricher(IServiceCollection, Action<ApplicationLogEnricherOptions>)

서비스 보강자의 instance 에 IServiceCollection추가합니다.

AddServiceLogEnricher(IServiceCollection)

Source:
ApplicationEnricherServiceCollectionExtensions.cs

서비스 보강자의 instance 에 IServiceCollection추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddServiceLogEnricher(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddServiceLogEnricher (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddServiceLogEnricher : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddServiceLogEnricher (services As IServiceCollection) As IServiceCollection

매개 변수

services
IServiceCollection

IServiceCollection 서비스 보강자를 추가할 입니다.

반환

services의 값

예외

servicesnull입니다.

적용 대상

AddServiceLogEnricher(IServiceCollection, IConfigurationSection)

Source:
ApplicationEnricherServiceCollectionExtensions.cs

서비스 보강자의 instance 에 IServiceCollection추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddServiceLogEnricher(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddServiceLogEnricher (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member AddServiceLogEnricher : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddServiceLogEnricher (services As IServiceCollection, section As IConfigurationSection) As IServiceCollection

매개 변수

services
IServiceCollection

IServiceCollection 서비스 보강자를 추가할 입니다.

section
IConfigurationSection

IConfigurationSection 서비스 보강자에서 구성하는 ApplicationLogEnricherOptions 데 사용할 입니다.

반환

services의 값

예외

모든 인수는 입니다 null.

적용 대상

AddServiceLogEnricher(IServiceCollection, Action<ApplicationLogEnricherOptions>)

Source:
ApplicationEnricherServiceCollectionExtensions.cs

서비스 보강자의 instance 에 IServiceCollection추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddServiceLogEnricher(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action<Microsoft::Extensions::Diagnostics::Enrichment::ApplicationLogEnricherOptions ^> ^ configure);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddServiceLogEnricher (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Diagnostics.Enrichment.ApplicationLogEnricherOptions> configure);
static member AddServiceLogEnricher : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.Diagnostics.Enrichment.ApplicationLogEnricherOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddServiceLogEnricher (services As IServiceCollection, configure As Action(Of ApplicationLogEnricherOptions)) As IServiceCollection

매개 변수

services
IServiceCollection

IServiceCollection 서비스 보강자를 추가할 입니다.

반환

services의 값

예외

모든 인수는 입니다 null.

적용 대상