Click or drag to resize

LayoutRenderFormattedMessage Method

Renders formatted output using the log event as context.

Namespace:  NLog.Layouts
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
protected virtual 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