LoggingBuilderExtensions.AddConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.