NLog.Web Namespace |
Class | Description | |
---|---|---|
AspNetExtensions |
Helpers for ASP.NET
| |
DefaultHttpContextAccessor |
Provides the HttpContext associated with the current request.
| |
NLogAspNetCoreOptions |
Options for ASP.NET Core and NLog
| |
NLogBufferingTargetWrapperMiddleware |
This class is to intercept the HTTP pipeline and to allow the AspNetBufferingTargetWrapper to function properly
Usage: app.UseMiddleware<NLogBufferingTargetWrapperMiddleware>(); where app is an IApplicationBuilder
| |
NLogBuilder | Obsolete.
NLog helpers to ensure registration of NLog.Web-extensions before loading NLog-configuration
| |
NLogHttpModule |
ASP.NET HttpModule that enables NLog to hook BeginRequest and EndRequest events easily.
| |
NLogRequestLoggingMiddleware |
Middleware that writes all requests to Logger named "RequestLogging"
| |
NLogRequestLoggingModule |
HttpModule that writes all requests to Logger named "RequestLogging"
| |
NLogRequestLoggingOptions |
Options configuration for NLogRequestLoggingMiddleware | |
NLogRequestPostedBodyMiddleware |
ASP.NET Core Middleware that enables ${aspnet-request-posted-body}
Inject the NLogRequestPostBodyMiddlewareOption in the IoC if wanting to override default values for constructor
| |
NLogRequestPostedBodyMiddlewareOptions |
Contains the configuration for the NLogRequestPostedBodyMiddleware
| |
NLogRequestPostedBodyModule |
HttpModule that enables ${aspnet-request-posted-body}
| |
SetupBuilderExtensions |
Extension methods to setup LogFactory options
| |
SetupExtensionsBuilderExtensions |
Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration
|
Interface | Description | |
---|---|---|
IHttpContextAccessor |
Provides access to the HttpContext
|