| ExceptionRenderingFormat Enumeration |
Format of the exception output to the specific target.
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public enum ExceptionRenderingFormat
Public Enumeration ExceptionRenderingFormat
Dim instance As ExceptionRenderingFormat
type ExceptionRenderingFormat
Members
| Member name | Value | Description |
---|
| Message | 0 |
Appends the Message of an Exception to the specified target.
|
| Type | 1 |
Appends the type of an Exception to the specified target.
|
| ShortType | 2 |
Appends the short type of an Exception to the specified target.
|
| ToString | 3 |
Appends the result of calling ToString() on an Exception to the specified target.
|
| Method | 4 |
Appends the method name from Exception's stack trace to the specified target.
|
| StackTrace | 5 |
Appends the stack trace from an Exception to the specified target.
|
| Data | 6 |
Appends the contents of an Exception's Data property to the specified target.
|
| Serialize | 7 |
Destructure the exception (usually into JSON)
|
| Source | 8 |
Appends the Source from the application or the object that caused the error.
|
| HResult | 9 |
Appends the HResult from the application or the object that caused the error.
|
| Properties | 10 |
Appends any additional properties that specific type of Exception might have.
|
See Also