Documentation ¶
Index ¶
- Constants
- type Logger
- type OneLogger
- func (l *OneLogger) Debug(msg ...interface{})
- func (l *OneLogger) Debugf(tpl string, args ...interface{})
- func (l *OneLogger) Error(msg ...interface{})
- func (l *OneLogger) Errorf(tpl string, args ...interface{})
- func (l *OneLogger) Info(msg ...interface{})
- func (l *OneLogger) Infof(tpl string, args ...interface{})
- func (l *OneLogger) Warn(msg ...interface{})
- func (l *OneLogger) Warnf(tpl string, args ...interface{})
Constants ¶
View Source
const ( DEBUG byte = iota INFO WARN ERROR )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debug(args ...interface{}) Info(args ...interface{}) Warn(args ...interface{}) Error(args ...interface{}) Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warnf(format string, args ...interface{}) Errorf(format string, args ...interface{}) }
type OneLogger ¶
type OneLogger struct {
// contains filtered or unexported fields
}
func GetOneLogger ¶
Click to show internal directories.
Click to hide internal directories.