AzureAppServicesLoggerFactoryExtensions.AddAzureWebAppDiagnostics Yöntem

Tanım

Aşırı Yüklemeler

AddAzureWebAppDiagnostics(ILoggerFactory)
Kullanımdan kalktı.

Azure Web Apps tanılama günlükçüsü ekler.Adds an Azure Web Apps diagnostics logger.

AddAzureWebAppDiagnostics(ILoggingBuilder)

Azure Web Apps tanılama günlükçüsü ekler.Adds an Azure Web Apps diagnostics logger.

AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings)
Kullanımdan kalktı.

Azure Web Apps tanılama günlükçüsü ekler.Adds an Azure Web Apps diagnostics logger.

AddAzureWebAppDiagnostics(ILoggerFactory)

Dikkat

This method is obsolete and will be removed in a future version. The recommended alternative is AddAzureWebAppDiagnostics(this ILoggingBuilder builder).

Azure Web Apps tanılama günlükçüsü ekler.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
[<System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is AddAzureWebAppDiagnostics(this ILoggingBuilder builder).")>]
static member AddAzureWebAppDiagnostics : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Extensions.Logging.ILoggerFactory
<Extension()>
Public Function AddAzureWebAppDiagnostics (factory As ILoggerFactory) As ILoggerFactory

Parametreler

factory
ILoggerFactory

Genişletme yöntemi bağımsız değişkeniThe extension method argument

Döndürülenler

ILoggerFactory
Öznitelikler

Şunlara uygulanır

AddAzureWebAppDiagnostics(ILoggingBuilder)

Azure Web Apps tanılama günlükçüsü ekler.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

Parametreler

builder
ILoggingBuilder

Genişletme yöntemi bağımsız değişkeniThe extension method argument

Döndürülenler

ILoggingBuilder

Şunlara uygulanır

AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings)

Dikkat

This method is obsolete and will be removed in a future version. The recommended alternative is AddAzureWebAppDiagnostics(this ILoggingBuilder builder).

Azure Web Apps tanılama günlükçüsü ekler.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
[<System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is AddAzureWebAppDiagnostics(this ILoggingBuilder builder).")>]
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

Parametreler

factory
ILoggerFactory

Genişletme yöntemi bağımsız değişkeniThe extension method argument

settings
AzureAppServicesDiagnosticsSettings

Günlükçüleri yapılandırmak için ayar nesnesi.The setting object to configure loggers.

Döndürülenler

ILoggerFactory
Öznitelikler

Şunlara uygulanır