 | 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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax[ObsoleteAttribute("Instead use ${callsite} or CallerMemberName. Marked obsolete with NLog 5.3")]
public StackFrame UserStackFrame { get; }
<ObsoleteAttribute("Instead use ${callsite} or CallerMemberName. Marked obsolete with 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 with NLog 5.3")>]
member UserStackFrame : StackFrame with get
Property Value
Type:
StackFrame
See Also