Поделиться через


AzureAppServicesLoggerFactoryExtensions.AddAzureWebAppDiagnostics Метод

Определение

Перегрузки

AddAzureWebAppDiagnostics(ILoggingBuilder)

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

AddAzureWebAppDiagnostics(ILoggingBuilder, Action<AzureBlobLoggerOptions>)

AddAzureWebAppDiagnostics(ILoggingBuilder)

Исходный код:
AzureAppServicesLoggerFactoryExtensions.cs
Исходный код:
AzureAppServicesLoggerFactoryExtensions.cs
Исходный код:
AzureAppServicesLoggerFactoryExtensions.cs

Добавляет средство ведения журнала диагностики для веб-приложений 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

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

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

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

AddAzureWebAppDiagnostics(ILoggingBuilder, Action<AzureBlobLoggerOptions>)

Исходный код:
AzureAppServicesLoggerFactoryExtensions.cs
Исходный код:
AzureAppServicesLoggerFactoryExtensions.cs
Исходный код:
AzureAppServicesLoggerFactoryExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddAzureWebAppDiagnostics(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, Action<Microsoft::Extensions::Logging::AzureAppServices::AzureBlobLoggerOptions ^> ^ configureBlobLoggerOptions);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddAzureWebAppDiagnostics (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Action<Microsoft.Extensions.Logging.AzureAppServices.AzureBlobLoggerOptions> configureBlobLoggerOptions);
static member AddAzureWebAppDiagnostics : Microsoft.Extensions.Logging.ILoggingBuilder * Action<Microsoft.Extensions.Logging.AzureAppServices.AzureBlobLoggerOptions> -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddAzureWebAppDiagnostics (builder As ILoggingBuilder, configureBlobLoggerOptions As Action(Of AzureBlobLoggerOptions)) As ILoggingBuilder

Параметры

builder
ILoggingBuilder
configureBlobLoggerOptions
Action<AzureBlobLoggerOptions>

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

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