Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStackTrace ¶
func GetStackTrace() string
GetStackTrace returns the stack trace of the caller.
func RecoverWithStackTracef ¶ added in v0.0.75
RecoverWithStackTracef recovers from a panic and logs the message with a stack trace. It should only be used as a defer statement at the beginning of a function. i.e. defer tracex.RecoverWithStackTracef(l, "panic while handling messages")
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.