| 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: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
Syntax protected 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