AzureAppServicesLoggerFactoryExtensions.AddAzureWebAppDiagnostics Method

Definition

Overloads

AddAzureWebAppDiagnostics(ILoggerFactory)

Adds an Azure Web Apps diagnostics logger.

AddAzureWebAppDiagnostics(ILoggingBuilder)

Adds an Azure Web Apps diagnostics logger.

AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings)

Adds an Azure Web Apps diagnostics logger.

AddAzureWebAppDiagnostics(ILoggerFactory)

Warning

This API is now obsolete.

Adds an Azure Web Apps diagnostics logger.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggerFactory ^ AddAzureWebAppDiagnostics(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

The extension method argument

Returns

Attributes

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

AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings)

Warning

This API is now obsolete.

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

The extension method argument

settings
AzureAppServicesDiagnosticsSettings

The setting object to configure loggers.

Returns

Attributes

Applies to