Click or drag to resize

LogEventInfoUserStackFrameNumber Property

Note: This API is now obsolete.

Gets the number index of the stack frame that represents the user code (not the NLog code).

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
[ObsoleteAttribute("Instead use ${callsite} or CallerMemberName. Marked obsolete with NLog 5.4")]
public int UserStackFrameNumber { get; }

Property Value

Type: Int32
See Also