Compartir a través de


LoggingBuilderConfigurationExtensions.AddConfiguration Método

Definición

Agrega servicios necesarios para consumir ILoggerProviderConfigurationFactory o ILoggerProviderConfiguration<T>.

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

Parámetros

builder
ILoggingBuilder

La instancia de ILoggingBuilder en la que se van a registrar los servicios.

Se aplica a