Click or drag to resize
LayoutGetFormattedMessage Method
Renders the layout for the specified logging event by invoking layout renderers.

Namespace: NLog.Layouts
Assembly: NLog (in NLog.dll) Version: 4.3.0
Syntax
protected abstract string GetFormattedMessage(
	LogEventInfo logEvent
)

Parameters

logEvent
Type: NLogLogEventInfo
The logging event.

Return Value

Type: String
The rendered layout.
See Also