Documentation
¶
Index ¶
- func Debugf(format string, v ...any)
- func Errorf(format string, v ...any)
- func Fatalf(format string, v ...any)
- func InLevel(levels []Level, level Level) bool
- func Infof(format string, v ...any)
- func Tracef(format string, v ...any)
- func Warnf(format string, v ...any)
- type ILevel
- type Ilogger
- type Level
- type Logger
- type Notifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Level ¶
type Level string
Level 日志等级
type Logger ¶
type Logger interface { SetNotify(notify Notifier) Fatalf(format string, v ...any) // Mark the level fatal, but not panic or exit Errorf(format string, v ...any) Warnf(format string, v ...any) Infof(format string, v ...any) Debugf(format string, v ...any) Tracef(format string, v ...any) }
Logger 日志接口
Click to show internal directories.
Click to hide internal directories.