Beispiel #1
0
func Stackln(args ...interface{}) {
	if test(DEBUG) {
		stdlog.Println(args...)
		stdlog.Print(runtime.Stack())
	}
}
Beispiel #2
0
func Stackf(s string, args ...interface{}) {
	if test(DEBUG) {
		stdlog.Printf(s, args...)
		stdlog.Print(runtime.Stack())
	}
}