Documentation ¶
Overview ¶
Package debug contains utilities to log debug messages and display panics nicely.
Index ¶
Constants ¶
View Source
const Oops = `` /* 193-byte string literal not displayed */
Variables ¶
View Source
var DeadlockDetection bool
View Source
var LogDirectory = GetUserDebugDir()
View Source
var OnRecover func()
View Source
var RecoverPrettyPanic bool = true
View Source
var WriteLogs bool
Functions ¶
func GetUserDebugDir ¶ added in v0.3.1
func GetUserDebugDir() string
func Initialize ¶
func Initialize()
func PrettyPanic ¶
func PrettyPanic(panic interface{})
func PrintStack ¶
func PrintStack()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.