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: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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
WithoutSource1 Obsolete. Stack trace should be captured. This option won't add the filenames and linenumbers.
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