HttpClientLoggingServiceCollectionExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |
Adds an IHttpClientAsyncLogger to emit logs for outgoing requests for all HTTP clients created with IHttpClientFactory. |
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. |
AddHttpClientLogEnricher<T>(IServiceCollection) |
Adds an enricher instance of |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for