Versions in this module Expand all Collapse all v1 v1.0.0 Mar 15, 2024 Changes in this version + const LUTC + const Ldate + const Llongfile + const Lmicroseconds + const Lmsgprefix + const Lshortfile + const LstdFlags + const Ltime + func Debug(format string, args ...any) + func Error(format string, args ...any) + func Fatal(args ...any) + func Fatalf(format string, args ...any) + func Info(format string, args ...any) + func OnCloserError(closer io.Closer, l Level) + func OnPanic(prefix string) + func OnPanicAndExit(prefix string, exitCode int) + func Panic(args ...any) + func Panicf(format string, args ...any) + func Print(args ...any) + func Printf(format string, args ...any) + func Println(args ...any) + func SetFlags(flags int) + func SetLevel(l Level) + func SetOutput(w io.Writer) + func StdLog(prefix string, l Level) (std *log.Logger) + func Tracef(format string, args ...any) + func Writer() io.Writer + type Level uint32 + const DEBUG + const ERROR + const INFO + func GetLevel() (l Level) + func (l Level) String() string + type Timer struct + func StartTimer() Timer + func (t *Timer) LogElapsed(message string, args ...any)