Click or drag to resize

ExceptionLayoutRendererAppendSerializeObject Method

Appends all the serialized properties of an Exception into the specified StringBuilder.

Namespace:  NLog.LayoutRenderers
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
protected virtual void AppendSerializeObject(
	StringBuilder sb,
	Exception ex
)

Parameters

sb
Type: System.TextStringBuilder
The StringBuilder to append the rendered data to.
ex
Type: SystemException
The Exception whose properties should be appended.
See Also