Duality.Log.CurrentStackFrame C# (CSharp) Method

CurrentStackFrame() public static method

Retrieves the current stack frame.
public static CurrentStackFrame ( int skipFrames ) : System.Diagnostics.StackFrame
skipFrames int The number of frames to skip. This function itsself is omitted by default.
return System.Diagnostics.StackFrame
        public static System.Diagnostics.StackFrame CurrentStackFrame(int skipFrames = 0)
        {
            return new System.Diagnostics.StackTrace(skipFrames + 1).GetFrame(0);
        }