AzureAppServicesLoggerFactoryExtensions.AddAzureWebAppDiagnostics 方法

定义

重载

AddAzureWebAppDiagnostics(ILoggingBuilder)

添加 Azure Web 应用诊断记录器。

AddAzureWebAppDiagnostics(ILoggingBuilder, Action<AzureBlobLoggerOptions>)

AddAzureWebAppDiagnostics(ILoggingBuilder)

Source:
AzureAppServicesLoggerFactoryExtensions.cs
Source:
AzureAppServicesLoggerFactoryExtensions.cs

添加 Azure Web 应用诊断记录器。

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>)

Source:
AzureAppServicesLoggerFactoryExtensions.cs
Source:
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>

返回

适用于