| 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.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
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