internaltracex

package
v0.0.95 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStackTrace

func GetStackTrace(skipLevels int) string

GetStackTrace returns the stack trace of the caller. We can specify skipLevels to skip the number of stack frames. i.e. GetStackTrace(2) will skip the first 2 calls (including GetStackTrace itself), so this will return the stack trace of the caller of the function that calls GetStackTrace.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL