Sdílet prostřednictvím


LoggingBuilderConfigurationExtensions.AddConfiguration Metoda

Definice

Přidá služby potřebné k využívání ILoggerProviderConfigurationFactory nebo 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)

Parametry

builder
ILoggingBuilder

Registrace ILoggingBuilder služeb.

Platí pro