Auf Englisch lesen

Freigeben über


HttpClientLoggingHttpClientBuilderExtensions Klasse

Definition

Erweiterungen zum Registrieren erweiterter HTTP-Clientprotokollierungsfeatures.

C#
public static class HttpClientLoggingHttpClientBuilderExtensions
Vererbung
HttpClientLoggingHttpClientBuilderExtensions

Methoden

AddExtendedHttpClientLogging(IHttpClientBuilder, Action<LoggingOptions>)

Fügt ein IHttpClientAsyncLogger hinzu, um Protokolle für ausgehende Anforderungen für einen namens HttpClientausgibt.

AddExtendedHttpClientLogging(IHttpClientBuilder, IConfigurationSection)

Fügt ein IHttpClientAsyncLogger hinzu, um Protokolle für ausgehende Anforderungen für einen namens HttpClientausgibt.

AddExtendedHttpClientLogging(IHttpClientBuilder)

Fügt ein IHttpClientAsyncLogger hinzu, um Protokolle für ausgehende Anforderungen für einen namens HttpClientausgibt.

Gilt für:

Produkt Versionen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)