NLog.LayoutRenderers.ExceptionLayoutRenderer
Exception information provided through
a call to one of the Logger.*Exception() methods.
Gets or sets whether to render innermost Exception from GetBaseException
Gets or sets the separator used to concatenate exception data specified in the Format.
Gets or sets whether to collapse exception tree using AggregateException.Flatten()
Gets or sets the format of the output. Must be a comma-separated list of exception
properties: Message, Type, ShortType, ToString, Method, StackTrace.
This parameter value is case-insensitive.
Gets the formats of the output of inner exceptions to be rendered in target. ExceptionRenderingFormat
Gets or sets the separator between inner exceptions.
Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception
properties: Message, Type, ShortType, ToString, Method, StackTrace.
This parameter value is case-insensitive.
Gets or sets the maximum number of inner exceptions to include in the output.
By default inner exceptions are not enabled for compatibility with NLog 1.0.
Gets or sets the separator used to concatenate parts specified in the Format.
public ExceptionLayoutRenderer()
Initializes a new instance of the ExceptionLayoutRenderer class.
Appends the contents of an Exception's Data property to the specified StringBuilder.
Appends the HResult of an Exception to the specified StringBuilder.
Appends the Message of an Exception to the specified StringBuilder.
Appends the method name from Exception's stack trace to the specified StringBuilder.
Appends all the additional properties of an Exception like Data key-value-pairs
Appends all the serialized properties of an Exception into the specified StringBuilder.
Appends the short type of an Exception to the specified StringBuilder.
Appends the application source of an Exception to the specified StringBuilder.
Appends the stack trace from an Exception to the specified StringBuilder.
Appends the result of calling ToString() on an Exception to the specified StringBuilder.
Appends the type of an Exception to the specified StringBuilder.