Documentation
¶
Index ¶
- func Debugf(format string, v ...interface{})
- func Errorf(format string, v ...interface{})
- func Fatalf(format string, v ...interface{})
- func InLevel(levels []Level, level Level) bool
- func Infof(format string, v ...interface{})
- func InitParamWithLogger(param interface{}) (interface{}, error)
- func Tracef(format string, v ...interface{})
- func Warnf(format string, v ...interface{})
- type Level
- type Logger
- type Notifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitParamWithLogger ¶
func InitParamWithLogger(param interface{}) (interface{}, error)
InitParamWithLogger 初始化param里的Logger
Types ¶
type Logger ¶
type Logger interface {
SetNotify(notify Notifier)
Fatalf(format string, v ...interface{})
Errorf(format string, v ...interface{})
Warnf(format string, v ...interface{})
Infof(format string, v ...interface{})
Debugf(format string, v ...interface{})
Tracef(format string, v ...interface{})
}
Logger 日志接口
Click to show internal directories.
Click to hide internal directories.