Click or drag to resize

StackTraceUsage Enumeration

Value indicating how stack trace should be captured when processing the log event.

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
[FlagsAttribute]
public enum StackTraceUsage
Members
  Member nameValueDescription
None0 No Stack trace needs to be captured.
WithStackTrace1 Stack trace should be captured. This option won't add the filenames and linenumbers
WithFileNameAndLineNumber2 Capture also filenames and linenumbers
WithCallSite4 Capture the location of the call
WithCallSiteClassName8 Capture the class name for location of the call
WithSource3 Stack trace should be captured including filenames and linenumbers.
Max3 Capture maximum amount of the stack trace information supported on the platform.
See Also