| W3CExtendedLogLayoutRenderFormattedMessage Method |
Renders formatted output using the log event as context.
Namespace:
NLog.Web.Layouts
Assemblies:
NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
NLog.Web (in NLog.Web.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
Syntax protected override void RenderFormattedMessage(
LogEventInfo logEvent,
StringBuilder target
)
Protected Overrides Sub RenderFormattedMessage (
logEvent As LogEventInfo,
target As StringBuilder
)
Dim logEvent As LogEventInfo
Dim target As StringBuilder
Me.RenderFormattedMessage(logEvent,
target)
abstract RenderFormattedMessage :
logEvent : LogEventInfo *
target : StringBuilder -> unit
override RenderFormattedMessage :
logEvent : LogEventInfo *
target : StringBuilder -> unit
Parameters
- logEvent
- Type: NLogLogEventInfo
The logging event. - target
- Type: System.TextStringBuilder
Appends the formatted output to target
See Also