 | 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
Syntaxprotected override void Write(
LogEventInfo logEvent
)
Protected Overrides Sub Write (
logEvent As LogEventInfo
)
Dim logEvent As LogEventInfo
Me.Write(logEvent)
abstract Write :
logEvent : LogEventInfo -> unit
override Write :
logEvent : LogEventInfo -> unit
Parameters
- logEvent
- Type: NLogLogEventInfo
The logging event.
See Also