Click or drag to resize

NLogHttpModule Class

Note: This API is now obsolete.

ASP.NET HttpModule that enables NLog to hook BeginRequest and EndRequest events easily.
Inheritance Hierarchy
SystemObject
  NLog.WebNLogHttpModule

Namespace:  NLog.Web
Assembly:  NLog.Web (in NLog.Web.dll) Version: 6.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
Syntax
[ObsoleteAttribute("Replaced by NLogBufferingTargetWrapperModule for AspNetBufferingWrapper support. Marked obsolete with NLog 6.0")]
public class NLogHttpModule : IHttpModule

The NLogHttpModule type exposes the following members.

Constructors
  NameDescription
Public methodNLogHttpModule
Notify the wrapper target that the correct IHttpModule is installed
Top
Methods
  NameDescription
Public methodDispose
Disposes the module.
Public methodInit
Initializes the HttpModule.
Top
Events
  NameDescription
Public eventStatic memberBeginRequest
Event to be raised at the beginning of each HTTP Request.
Public eventStatic memberEndRequest
Event to be raised at the end of each HTTP Request.
Top
See Also