AzureAppServicesLoggerFactoryExtensions.AddAzureWebAppDiagnostics 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.
Overloads
AddAzureWebAppDiagnostics(ILoggingBuilder) |
Adds an Azure Web Apps diagnostics logger. |
AddAzureWebAppDiagnostics(ILoggingBuilder, Action<AzureBlobLoggerOptions>) |
AddAzureWebAppDiagnostics(ILoggingBuilder)
Adds an Azure Web Apps diagnostics logger.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddAzureWebAppDiagnostics(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddAzureWebAppDiagnostics (this Microsoft.Extensions.Logging.ILoggingBuilder builder);
static member AddAzureWebAppDiagnostics : Microsoft.Extensions.Logging.ILoggingBuilder -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddAzureWebAppDiagnostics (builder As ILoggingBuilder) As ILoggingBuilder
Parameters
- builder
- ILoggingBuilder
The extension method argument.
Returns
Applies to
AddAzureWebAppDiagnostics(ILoggingBuilder, Action<AzureBlobLoggerOptions>)
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddAzureWebAppDiagnostics(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, Action<Microsoft::Extensions::Logging::AzureAppServices::AzureBlobLoggerOptions ^> ^ configureBlobLoggerOptions);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddAzureWebAppDiagnostics (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Action<Microsoft.Extensions.Logging.AzureAppServices.AzureBlobLoggerOptions> configureBlobLoggerOptions);
static member AddAzureWebAppDiagnostics : Microsoft.Extensions.Logging.ILoggingBuilder * Action<Microsoft.Extensions.Logging.AzureAppServices.AzureBlobLoggerOptions> -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddAzureWebAppDiagnostics (builder As ILoggingBuilder, configureBlobLoggerOptions As Action(Of AzureBlobLoggerOptions)) As ILoggingBuilder
Parameters
- builder
- ILoggingBuilder
- configureBlobLoggerOptions
- Action<AzureBlobLoggerOptions>
Returns
Applies to
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.