Click or drag to resize

GelfLayoutGetFormattedMessage 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 string GetFormattedMessage(
	LogEventInfo logEvent
)

Parameters

logEvent
Type: NLogLogEventInfo
The logging event.

Return Value

Type: String
The formatted output.
See Also