Click or drag to resize

NLogRequestLoggingModule Class

HttpModule that writes all requests to Logger named "RequestLogging"
Inheritance Hierarchy
SystemObject
  NLog.WebNLogRequestLoggingModule

Namespace:  NLog.Web
Assembly:  NLog.Web (in NLog.Web.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
Syntax
public class NLogRequestLoggingModule : IHttpModule

The NLogRequestLoggingModule type exposes the following members.

Constructors
  NameDescription
Public methodNLogRequestLoggingModule
Initializes new instance of the NLogRequestLoggingModule class
Top
Properties
  NameDescription
Public propertyDurationThresholdMs
Get or set duration time in milliseconds, before a HttpRequest is seen as slow (Logged as warning)
Public propertyExcludeRequestPaths
Gets or sets request-paths where LogLevel should be reduced (Logged as debug)
Top
See Also