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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.