Kongsi melalui


AzureAppServicesLoggerFactoryExtensions.AddAzureWebAppDiagnostics Method

Definition

Overloads

AddAzureWebAppDiagnostics(ILoggingBuilder)

Adds an Azure Web Apps diagnostics logger.

AddAzureWebAppDiagnostics(ILoggingBuilder, Action<AzureBlobLoggerOptions>)

AddAzureWebAppDiagnostics(ILoggingBuilder)

Source:
AzureAppServicesLoggerFactoryExtensions.cs
Source:
AzureAppServicesLoggerFactoryExtensions.cs

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>)

Source:
AzureAppServicesLoggerFactoryExtensions.cs
Source:
AzureAppServicesLoggerFactoryExtensions.cs
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