<PackageReference Include="NLog" Version="6.2.1" />

NLog.Config.ExceptionRenderingFormat

Format of the exception output to the specific target.
Data = 6

Appends the contents of an Exception's Data property to the specified target.

HResult = 9

Appends the HResult from the application or the object that caused the error.

Message = 0

Appends the Message of an Exception to the specified target.

Method = 4

Appends the method name from Exception's stack trace to the specified target.

Appends any additional properties that specific type of Exception might have.

Destructure the exception (usually into JSON)

Appends the short type of an Exception to the specified target.

Source = 8

Appends the Source from the application or the object that caused the error.

Appends the stack trace from an Exception to the specified target.

Appends the result of calling ToString() on an Exception to the specified target.

Type = 1

Appends the type of an Exception to the specified target.