Documentation ¶
Index ¶
- func CountPrintf(f string, vals ...interface{})
- func CountPrintln(f ...interface{})
- func Debugf(f string, vals ...interface{})
- func Dump(a ...interface{})
- func DumpJSON(itf interface{})
- func Errorf(f string, vals ...interface{}) error
- func LineInfo() string
- func ResetCount()
- func SmartStack() string
- func StackIgnoreFirst(n int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountPrintf ¶
func CountPrintf(f string, vals ...interface{})
CountPrintf prints the debug message along with a prefix number to identify it
func CountPrintln ¶
func CountPrintln(f ...interface{})
CountPrintln prints the debug message along with a prefix number to identify it
func Debugf ¶
func Debugf(f string, vals ...interface{})
Debugf prints the filename:line_nb of the Debugf call
func LineInfo ¶
func LineInfo() string
LineInfo returns "{nameoffile}.go:{linenumber}" of the caller
func SmartStack ¶
func SmartStack() string
SmartStack returns the stack starting with exactly the line that panick'ed (goroutine is mentioned still as first line)
func StackIgnoreFirst ¶
StackIgnoreFirst retuns the stack with the first n stack items ignored (starting at called position)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.