Click or drag to resize

ExceptionLayoutRendererAppendMessage Method

Appends the Message of an Exception to the specified StringBuilder.

Namespace:  NLog.LayoutRenderers
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
protected virtual void AppendMessage(
	StringBuilder sb,
	Exception ex
)

Parameters

sb
Type: System.TextStringBuilder
The StringBuilder to append the rendered data to.
ex
Type: SystemException
The exception containing the Message to append.
See Also