Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Caller ¶
Caller returns the file and line number of a frame on the caller's stack. If the funtion fails an empty string is returned. skipFrames - the number of frames to skip when determining the caller. Passing a value of 0 will return the immediate caller of this function.
func StackTrace ¶
StackTrace returns a formatted stack trace string. If the funtion fails an empty string is returned. skipFrames - the number of stack frames to skip before composing the trace string. totalFrames - the maximum number of stack frames to include in the trace string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.