Dijeli putem


HttpClientLoggingServiceCollectionExtensions Class

Definition

Extensions to register extended HTTP client logging features.

public ref class HttpClientLoggingServiceCollectionExtensions abstract sealed
public static class HttpClientLoggingServiceCollectionExtensions
type HttpClientLoggingServiceCollectionExtensions = class
Public Module HttpClientLoggingServiceCollectionExtensions
Inheritance
HttpClientLoggingServiceCollectionExtensions

Methods

AddExtendedHttpClientLogging(IServiceCollection, Action<LoggingOptions>)

Adds an IHttpClientAsyncLogger to emit logs for outgoing requests for all HTTP clients created with IHttpClientFactory.

AddExtendedHttpClientLogging(IServiceCollection, IConfigurationSection)

Adds an IHttpClientAsyncLogger to emit logs for outgoing requests for all HTTP clients created with IHttpClientFactory.

AddExtendedHttpClientLogging(IServiceCollection)

Adds an IHttpClientAsyncLogger to emit logs for outgoing requests for all HTTP clients created with IHttpClientFactory.

AddHttpClientLogEnricher<T>(IServiceCollection)

Adds an enricher instance of T to the IServiceCollection to enrich HttpClient logs.

Applies to