Documentation ¶ Index ¶ Variables func Debugf(format string, v ...any) func Debugln(v ...any) func Fatal(v ...any) func Pp(data any) string func Print(v ...any) func Printf(format string, v ...any) func Println(v ...any) func SetContinueOnFatal() func SetDebug(w io.Writer) type Logger func Default() *Logger Constants ¶ This section is empty. Variables ¶ View Source var ( Debug = &Logger{Logger: log.New(io.Discard, "", flags)} Stderr = &Logger{Logger: log.New(os.Stderr, "", flags)} DebugIsDiscard int32 ) Functions ¶ func Debugf ¶ func Debugf(format string, v ...any) func Debugln ¶ func Debugln(v ...any) func Fatal ¶ func Fatal(v ...any) func Pp ¶ func Pp(data any) string pretty print stuff func Print ¶ func Print(v ...any) func Printf ¶ func Printf(format string, v ...any) func Println ¶ func Println(v ...any) func SetContinueOnFatal ¶ added in v0.9.14 func SetContinueOnFatal() func SetDebug ¶ func SetDebug(w io.Writer) Types ¶ type Logger ¶ type Logger struct { *log.Logger } func Default ¶ func Default() *Logger Source Files ¶ View all Source files log.go Click to show internal directories. Click to hide internal directories.