Documentation
¶
Overview ¶
Package logger provides the logger for the service.
Index ¶
- func Debug(message ...any)
- func Debugf(template string, message ...any)
- func Error(message ...any)
- func Errorf(template string, message ...any)
- func Fatal(message ...any)
- func Fatalf(template string, message ...any)
- func Info(message ...any)
- func Infof(template string, message ...any)
- func SetLogLevel(ll string)
- func Warn(message ...any)
- func Warnf(template string, message ...any)
- type Logger
- type SystemLog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface {
Info(args ...any)
Infof(template string, args ...any)
Infoln(args ...any)
Debug(args ...any)
Debugf(template string, args ...any)
Debugln(args ...any)
Warning(args ...any)
Warningf(template string, args ...any)
Warningln(args ...any)
Error(args ...any)
Errorf(template string, args ...any)
Errorln(args ...any)
Fatal(args ...any)
Fatalf(template string, args ...any)
Fatalln(args ...any)
V(l int) bool
Sync() error
}
Logger define default logger for logger
Click to show internal directories.
Click to hide internal directories.