Jaa


LoggingBuilderExtensions.AddConfiguration Method

Definition

Configures LoggerFilterOptions from an instance of IConfiguration.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddConfiguration(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, Microsoft::Extensions::Configuration::IConfiguration ^ configuration);
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

builder
ILoggingBuilder

The ILoggingBuilder to use.

configuration
IConfiguration

The IConfiguration to add.

Returns

The builder.

Applies to