HttpClientLoggingServiceCollectionExtensions Klasse

Definition

Erweiterungen zum Registrieren erweiterter HTTP-Clientprotokollierungsfeatures.

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

Methoden

Name Beschreibung
AddExtendedHttpClientLogging(IServiceCollection, Action<LoggingOptions>)

Fügt ein IHttpClientAsyncLogger , um Protokolle für ausgehende Anforderungen für alle HTTP-Clients auszustrahlen, die mit IHttpClientFactory.

AddExtendedHttpClientLogging(IServiceCollection, IConfigurationSection)

Fügt ein IHttpClientAsyncLogger , um Protokolle für ausgehende Anforderungen für alle HTTP-Clients auszustrahlen, die mit IHttpClientFactory.

AddExtendedHttpClientLogging(IServiceCollection)

Fügt ein IHttpClientAsyncLogger , um Protokolle für ausgehende Anforderungen für alle HTTP-Clients auszustrahlen, die mit IHttpClientFactory.

AddHttpClientLogEnricher<T>(IServiceCollection)

Fügt der Zureicherung von T Protokollen eine Anreicherungsinstanz IServiceCollectionHttpClient hinzu.

Gilt für: