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