AzureAppServicesLoggerFactoryExtensions.AddAzureWebAppDiagnostics AzureAppServicesLoggerFactoryExtensions.AddAzureWebAppDiagnostics AzureAppServicesLoggerFactoryExtensions.AddAzureWebAppDiagnostics AzureAppServicesLoggerFactoryExtensions.AddAzureWebAppDiagnostics Method

Definition

Overloads

AddAzureWebAppDiagnostics(ILoggerFactory) AddAzureWebAppDiagnostics(ILoggerFactory) AddAzureWebAppDiagnostics(ILoggerFactory) AddAzureWebAppDiagnostics(ILoggerFactory)

Adds an Azure Web Apps diagnostics logger.

AddAzureWebAppDiagnostics(ILoggingBuilder) AddAzureWebAppDiagnostics(ILoggingBuilder) AddAzureWebAppDiagnostics(ILoggingBuilder) AddAzureWebAppDiagnostics(ILoggingBuilder)

Adds an Azure Web Apps diagnostics logger.

AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings) AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings) AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings) AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings)

Adds an Azure Web Apps diagnostics logger.

AddAzureWebAppDiagnostics(ILoggerFactory) AddAzureWebAppDiagnostics(ILoggerFactory) AddAzureWebAppDiagnostics(ILoggerFactory) 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 ILoggerFactory ILoggerFactory ILoggerFactory

The extension method argument

Returns

AddAzureWebAppDiagnostics(ILoggingBuilder) AddAzureWebAppDiagnostics(ILoggingBuilder) AddAzureWebAppDiagnostics(ILoggingBuilder) 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 ILoggingBuilder ILoggingBuilder ILoggingBuilder

The extension method argument

Returns

AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings) AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings) AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings) 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 ILoggerFactory ILoggerFactory ILoggerFactory

The extension method argument

Returns

Applies to