Click or drag to resize

LayoutRender Method (LogEventInfo, StringBuilder)

Optimized version of Render(LogEventInfo) that works best when override of RenderFormattedMessage(LogEventInfo, StringBuilder) is available.

Namespace:  NLog.Layouts
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public void Render(
	LogEventInfo logEvent,
	StringBuilder target
)

Parameters

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