Compartir a través de


LoggingEnrichmentExtensions.EnableEnrichment Método

Definición

Sobrecargas

EnableEnrichment(ILoggingBuilder)

Habilita la funcionalidad de enriquecimiento dentro de la infraestructura de registro.

EnableEnrichment(ILoggingBuilder, IConfigurationSection)

Habilita la funcionalidad de enriquecimiento dentro de la infraestructura de registro.

EnableEnrichment(ILoggingBuilder, Action<LoggerEnrichmentOptions>)

Habilita la funcionalidad de enriquecimiento dentro de la infraestructura de registro.

EnableEnrichment(ILoggingBuilder)

Source:
LoggingEnrichmentExtensions.cs
Source:
LoggingEnrichmentExtensions.cs

Habilita la funcionalidad de enriquecimiento dentro de la infraestructura de registro.

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

Parámetros

builder
ILoggingBuilder

Contenedor de inserción de dependencias al que se va a agregar el registro.

Devoluciones

Valor de builder.

Se aplica a

EnableEnrichment(ILoggingBuilder, IConfigurationSection)

Source:
LoggingEnrichmentExtensions.cs
Source:
LoggingEnrichmentExtensions.cs

Habilita la funcionalidad de enriquecimiento dentro de la infraestructura de registro.

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

Parámetros

builder
ILoggingBuilder

Contenedor de inserción de dependencias al que se va a agregar el registro.

section
IConfigurationSection

Sección de configuración que contiene LoggerEnrichmentOptions.

Devoluciones

Valor de builder.

Se aplica a

EnableEnrichment(ILoggingBuilder, Action<LoggerEnrichmentOptions>)

Source:
LoggingEnrichmentExtensions.cs
Source:
LoggingEnrichmentExtensions.cs

Habilita la funcionalidad de enriquecimiento dentro de la infraestructura de registro.

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

Parámetros

builder
ILoggingBuilder

Contenedor de inserción de dependencias al que se va a agregar el registro.

configure
Action<LoggerEnrichmentOptions>

Delegue la optimización de las opciones.

Devoluciones

Valor de builder.

Se aplica a