HttpLoggingServicesExtensions Class

Definition

Extension methods for the HttpLogging middleware.

public static class HttpLoggingServicesExtensions
type HttpLoggingServicesExtensions = class
Public Module HttpLoggingServicesExtensions
Inheritance
HttpLoggingServicesExtensions

Methods

AddHttpLogging(IServiceCollection, Action<HttpLoggingOptions>)

Adds HTTP Logging services.

AddHttpLoggingInterceptor<T>(IServiceCollection)

Registers the given type as a IHttpLoggingInterceptor in the DI container.

AddW3CLogging(IServiceCollection, Action<W3CLoggerOptions>)

Adds W3C Logging services.

Applies to