Click or drag to resize

ExceptionRenderingFormat Enumeration

Format of the exception output to the specific target.

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax
public enum ExceptionRenderingFormat
Members
  Member nameValueDescription
Message0 Appends the Message of an Exception to the specified target.
Type1 Appends the type of an Exception to the specified target.
ShortType2 Appends the short type of an Exception to the specified target.
ToString3 Appends the result of calling ToString() on an Exception to the specified target.
Method4 Appends the method name from Exception's stack trace to the specified target.
StackTrace5 Appends the stack trace from an Exception to the specified target.
Data6 Appends the contents of an Exception's Data property to the specified target.
Serialize7 Destructure the exception (usually into JSON)
Source8 Appends the Source from the application or the object that caused the error.
HResult9 Appends the HResult from the application or the object that caused the error.
Properties10 Appends any additional properties that specific type of Exception might have.
See Also