 | TargetWithContextIncludeCallSiteStackTrace Property |
Gets or sets a value indicating whether to include source info (file name and line number) in the
LogEventInfo
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic bool IncludeCallSiteStackTrace { get; set; }
Public Property IncludeCallSiteStackTrace As Boolean
Get
Set
Dim instance As TargetWithContext
Dim value As Boolean
value = instance.IncludeCallSiteStackTrace
instance.IncludeCallSiteStackTrace = value
member IncludeCallSiteStackTrace : bool with get, set
Property Value
Type:
Boolean
See Also