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的 发出传出请求的日志。

适用于