共用方式為


HttpClientLoggingHttpClientBuilderExtensions 類別

定義

用來註冊擴充 HTTP 用戶端記錄功能的擴充功能。

public ref class HttpClientLoggingHttpClientBuilderExtensions abstract sealed
public static class HttpClientLoggingHttpClientBuilderExtensions
type HttpClientLoggingHttpClientBuilderExtensions = class
Public Module HttpClientLoggingHttpClientBuilderExtensions
繼承
HttpClientLoggingHttpClientBuilderExtensions

方法

AddExtendedHttpClientLogging(IHttpClientBuilder, Action<LoggingOptions>)

加入 , IHttpClientAsyncLogger 以針對具名 HttpClient的傳出要求發出記錄。

AddExtendedHttpClientLogging(IHttpClientBuilder, IConfigurationSection)

加入 , IHttpClientAsyncLogger 以針對具名 HttpClient的傳出要求發出記錄。

AddExtendedHttpClientLogging(IHttpClientBuilder)

加入 , IHttpClientAsyncLogger 以針對具名 HttpClient的傳出要求發出記錄。

適用於