| LayoutRenderFormattedMessage Method |
Renders formatted output using the log event as context.
Namespace:
NLog.Layouts
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax protected virtual void RenderFormattedMessage(
LogEventInfo logEvent,
StringBuilder target
)
Protected Overridable 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