Click or drag to resize

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
Syntax
protected override void RenderFormattedMessage(
	LogEventInfo logEvent,
	StringBuilder target
)

Parameters

logEvent
Type: NLogLogEventInfo
The logging event.
target
Type: System.TextStringBuilder
Appends the formatted output to target
See Also