LoggingRedactionExtensions.EnableRedaction Método

Definición

Sobrecargas

EnableRedaction(ILoggingBuilder)

Habilita la funcionalidad de redacción dentro de la infraestructura de registro.

EnableRedaction(ILoggingBuilder, IConfigurationSection)

Habilita la funcionalidad de redacción dentro de la infraestructura de registro.

EnableRedaction(ILoggingBuilder, Action<LoggerRedactionOptions>)

Habilita la funcionalidad de redacción dentro de la infraestructura de registro.

EnableRedaction(ILoggingBuilder)

Source:
LoggingRedactionExtensions.cs

Habilita la funcionalidad de redacción dentro de la infraestructura de registro.

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

Parámetros

builder
ILoggingBuilder

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

Devoluciones

El valor de builder.

Se aplica a

EnableRedaction(ILoggingBuilder, IConfigurationSection)

Source:
LoggingRedactionExtensions.cs

Habilita la funcionalidad de redacción dentro de la infraestructura de registro.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggingBuilder ^ EnableRedaction(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.Logging.ILoggingBuilder EnableRedaction (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member EnableRedaction : Microsoft.Extensions.Logging.ILoggingBuilder * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function EnableRedaction (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 LoggerRedactionOptions.

Devoluciones

El valor de builder.

Se aplica a

EnableRedaction(ILoggingBuilder, Action<LoggerRedactionOptions>)

Source:
LoggingRedactionExtensions.cs

Habilita la funcionalidad de redacción dentro de la infraestructura de registro.

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

Parámetros

builder
ILoggingBuilder

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

configure
Action<LoggerRedactionOptions>

Delegue las opciones.

Devoluciones

El valor de builder.

Se aplica a