| LogEventInfoUserStackFrame Property |
Note: This API is now obsolete.
Obsolete and replaced by
CallerMemberName or ${callsite} with NLog v5.3.
Gets the stack frame of the method that did the logging.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax [ObsoleteAttribute("Instead use ${callsite} or CallerMemberName. Marked obsolete on NLog 5.3")]
public StackFrame UserStackFrame { get; }
<ObsoleteAttribute("Instead use ${callsite} or CallerMemberName. Marked obsolete on NLog 5.3")>
Public ReadOnly Property UserStackFrame As StackFrame
Get
Dim instance As LogEventInfo
Dim value As StackFrame
value = instance.UserStackFrame
[<ObsoleteAttribute("Instead use ${callsite} or CallerMemberName. Marked obsolete on NLog 5.3")>]
member UserStackFrame : StackFrame with get
Property Value
Type:
StackFrameSee Also