共用方式為


AzureAppServicesLoggerFactoryExtensions.AddAzureWebAppDiagnostics 方法

定義

多載

AddAzureWebAppDiagnostics(ILoggingBuilder)

新增 Azure Web Apps 診斷記錄器。

AddAzureWebAppDiagnostics(ILoggingBuilder, Action<AzureBlobLoggerOptions>)

AddAzureWebAppDiagnostics(ILoggingBuilder)

來源:
AzureAppServicesLoggerFactoryExtensions.cs
來源:
AzureAppServicesLoggerFactoryExtensions.cs
來源:
AzureAppServicesLoggerFactoryExtensions.cs

新增 Azure Web Apps 診斷記錄器。

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>

傳回

適用於