LoggingBuilderExtensions.AddConfiguration(ILoggingBuilder, IConfiguration) LoggingBuilderExtensions.AddConfiguration(ILoggingBuilder, IConfiguration) LoggingBuilderExtensions.AddConfiguration(ILoggingBuilder, IConfiguration) Method

Definition

Configures LoggerFilterOptions from an instance of IConfiguration.

public static Microsoft.Extensions.Logging.ILoggingBuilder AddConfiguration (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Configuration.IConfiguration configuration);
static member AddConfiguration : Microsoft.Extensions.Logging.ILoggingBuilder * Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddConfiguration (builder As ILoggingBuilder, configuration As IConfiguration) As ILoggingBuilder

Parameters

Returns

Applies to