AzureAppServicesLoggerFactoryExtensions.AddAzureWebAppDiagnostics Method

Definition

Overloads

AddAzureWebAppDiagnostics(ILoggerFactory)

Fügt Diagnoseprotokollierung für Azure Web Apps hinzu.Adds an Azure Web Apps diagnostics logger.

AddAzureWebAppDiagnostics(ILoggingBuilder)

Fügt Diagnoseprotokollierung für Azure Web Apps hinzu.Adds an Azure Web Apps diagnostics logger.

AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings)

Fügt Diagnoseprotokollierung für Azure Web Apps hinzu.Adds an Azure Web Apps diagnostics logger.

AddAzureWebAppDiagnostics(ILoggerFactory)

Warning

This API is now obsolete.

Fügt Diagnoseprotokollierung für Azure Web Apps hinzu.Adds an Azure Web Apps diagnostics logger.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggerFactory ^ AddAzureWebAppDiagnostics(Microsoft::Extensions::Logging::ILoggerFactory ^ factory);
public static Microsoft.Extensions.Logging.ILoggerFactory AddAzureWebAppDiagnostics (this Microsoft.Extensions.Logging.ILoggerFactory factory);
[System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is AddAzureWebAppDiagnostics(this ILoggingBuilder builder).")]
public static Microsoft.Extensions.Logging.ILoggerFactory AddAzureWebAppDiagnostics (this Microsoft.Extensions.Logging.ILoggerFactory factory);
static member AddAzureWebAppDiagnostics : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Extensions.Logging.ILoggerFactory
<Extension()>
Public Function AddAzureWebAppDiagnostics (factory As ILoggerFactory) As ILoggerFactory

Parameters

factory
ILoggerFactory

Das Argument der Erweiterungsmethode.The extension method argument

Returns

ILoggerFactory
Attributes

AddAzureWebAppDiagnostics(ILoggingBuilder)

Fügt Diagnoseprotokollierung für Azure Web Apps hinzu.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

Das Argument der Erweiterungsmethode.The extension method argument

Returns

ILoggingBuilder

AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings)

Warning

This API is now obsolete.

Fügt Diagnoseprotokollierung für Azure Web Apps hinzu.Adds an Azure Web Apps diagnostics logger.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggerFactory ^ AddAzureWebAppDiagnostics(Microsoft::Extensions::Logging::ILoggerFactory ^ factory, Microsoft::Extensions::Logging::AzureAppServices::AzureAppServicesDiagnosticsSettings ^ settings);
public static Microsoft.Extensions.Logging.ILoggerFactory AddAzureWebAppDiagnostics (this Microsoft.Extensions.Logging.ILoggerFactory factory, Microsoft.Extensions.Logging.AzureAppServices.AzureAppServicesDiagnosticsSettings settings);
[System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is AddAzureWebAppDiagnostics(this ILoggingBuilder builder).")]
public static Microsoft.Extensions.Logging.ILoggerFactory AddAzureWebAppDiagnostics (this Microsoft.Extensions.Logging.ILoggerFactory factory, Microsoft.Extensions.Logging.AzureAppServices.AzureAppServicesDiagnosticsSettings settings);
static member AddAzureWebAppDiagnostics : Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Logging.AzureAppServices.AzureAppServicesDiagnosticsSettings -> Microsoft.Extensions.Logging.ILoggerFactory
<Extension()>
Public Function AddAzureWebAppDiagnostics (factory As ILoggerFactory, settings As AzureAppServicesDiagnosticsSettings) As ILoggerFactory

Parameters

factory
ILoggerFactory

Das Argument der Erweiterungsmethode.The extension method argument

settings
AzureAppServicesDiagnosticsSettings

Das Einstellungsobjekt zum Konfigurieren von Protokollierungen.The setting object to configure loggers.

Returns

ILoggerFactory
Attributes

Applies to