Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogOption ¶
type LogOption func(l *logger)
type Logger ¶
type Logger interface {
Printf(format string, v ...any)
Print(v ...any)
Println(v ...any)
Fatalf(format string, v ...any)
Fatal(v ...any)
Fatalln(v ...any)
Error(v ...any)
Errorf(format string, v ...any)
Errorln(v ...any)
Warn(v ...any)
Warnf(format string, v ...any)
Warnln(v ...any)
Info(v ...any)
Infof(format string, v ...any)
Infoln(v ...any)
Debug(v ...any)
Debugf(format string, v ...any)
Debugln(v ...any)
Trace(v ...any)
Tracef(format string, v ...any)
Traceln(v ...any)
Level() Level
}
Logger defines a logging interface
Click to show internal directories.
Click to hide internal directories.