HttpLoggingServiceExtensions 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.
Extension methods to register the HTTP logging feature within the service.
public static class HttpLoggingServiceExtensions
type HttpLoggingServiceExtensions = class
Public Module HttpLoggingServiceExtensions
- Inheritance
-
HttpLoggingServiceExtensions
Methods
AddHttpLogEnricher<T>(IServiceCollection) |
Adds an enricher instance of |
AddHttpLogging(IServiceCollection, Action<LoggingOptions>) |
Adds components for incoming HTTP requests logging into IServiceCollection. |
AddHttpLogging(IServiceCollection, IConfigurationSection) |
Adds components for incoming HTTP requests logging into IServiceCollection. |
AddHttpLogging(IServiceCollection) |
Adds components for incoming HTTP requests logging into IServiceCollection. |
UseHttpLoggingMiddleware(IApplicationBuilder) |
Registers incoming HTTP request logging middleware into IApplicationBuilder. |