Click or drag to resize

AspNetTraceTargetWrite Method (LogEventInfo)

Writes the specified logging event to the ASP.NET Trace facility. If the log level is greater than or equal to Warn it uses the System.Web.TraceContext.Warn method, otherwise it uses System.Web.TraceContext.Write method.

Namespace:  NLog.Web.Targets
Assembly:  NLog.Web (in NLog.Web.dll) Version: 6.2.1+0fbab61663063d0bae72649f7924db954f8bf1b6
Syntax
protected override void Write(
	LogEventInfo logEvent
)

Parameters

logEvent
Type: NLogLogEventInfo
The logging event.
See Also