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.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
Syntax
protected override void Write(
	LogEventInfo logEvent
)

Parameters

logEvent
Type: NLogLogEventInfo
The logging event.
See Also