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
Col·laboreu amb nosaltres a GitHub
La font d'aquest contingut es pot trobar al GitHub, on també podeu crear i revisar problemes i sol·licituds d'extracció. Per obtenir més informació, consulteu la nostra guia per a col·laboradors.