 | GelfLayoutRenderFormattedMessage Method |
Renders formatted output using the log event as context.
Namespace:
NLog.Layouts
Assembly:
NLog.Targets.Network (in NLog.Targets.Network.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntaxprotected 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