共用方式為


Microsoft.Extensions.Logging.Configuration Namespace

Contains classes and abstractions for setting up logging services in an ILoggingBuilder.

Classes

LoggerProviderOptions

Provides a set of helpers to initialize options objects from logger provider configuration.

LoggerProviderOptionsChangeTokenSource<TOptions,TProvider>

Creates IChangeTokens so that IOptionsMonitor<TOptions> gets notified when IConfiguration changes.

LoggingBuilderConfigurationExtensions

Extension methods for setting up logging services in an ILoggingBuilder.

Interfaces

ILoggerProviderConfiguration<T>

Allows access to configuration section associated with logger provider.

ILoggerProviderConfigurationFactory

Allows access to configuration section associated with logger provider