Partager via


AzureAppServicesLoggerFactoryExtensions.AddAzureWebAppDiagnostics Méthode

Définition

Surcharges

AddAzureWebAppDiagnostics(ILoggingBuilder)

Ajoute un journaliseur de diagnostic Azure Web Apps.

AddAzureWebAppDiagnostics(ILoggingBuilder, Action<AzureBlobLoggerOptions>)

AddAzureWebAppDiagnostics(ILoggingBuilder)

Source:
AzureAppServicesLoggerFactoryExtensions.cs
Source:
AzureAppServicesLoggerFactoryExtensions.cs

Ajoute un journaliseur de diagnostic Azure Web Apps.

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

Paramètres

builder
ILoggingBuilder

Argument de la méthode d’extension.

Retours

S’applique à

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

Paramètres

builder
ILoggingBuilder
configureBlobLoggerOptions
Action<AzureBlobLoggerOptions>

Retours

S’applique à