AzureAppServicesLoggerFactoryExtensions.AddAzureWebAppDiagnostics Метод

Определение

Перегрузки

AddAzureWebAppDiagnostics(ILoggerFactory)
Является устаревшей.

Добавляет средство ведения журнала диагностики для веб-приложений Azure.

AddAzureWebAppDiagnostics(ILoggingBuilder)

Добавляет средство ведения журнала диагностики для веб-приложений Azure.

AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings)
Является устаревшей.

Добавляет средство ведения журнала диагностики для веб-приложений Azure.

AddAzureWebAppDiagnostics(ILoggerFactory)

Внимание!

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

Добавляет средство ведения журнала диагностики для веб-приложений Azure.

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

Параметры

factory
ILoggerFactory

Аргумент метода расширения.

Возвращаемое значение

ILoggerFactory
Атрибуты

Применяется к

AddAzureWebAppDiagnostics(ILoggingBuilder)

Добавляет средство ведения журнала диагностики для веб-приложений Azure.

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

Параметры

builder
ILoggingBuilder

Аргумент метода расширения.

Возвращаемое значение

ILoggingBuilder

Применяется к

AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings)

Внимание!

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

Добавляет средство ведения журнала диагностики для веб-приложений Azure.

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

Параметры

factory
ILoggerFactory

Аргумент метода расширения.

settings
AzureAppServicesDiagnosticsSettings

Объект параметра для настройки средств ведения журнала.

Возвращаемое значение

ILoggerFactory
Атрибуты

Применяется к