Documentation
¶
Index ¶
- Constants
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func SetLevel(level int)
- func SetOutput(w io.Writer)
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- type Logger
Constants ¶
View Source
const ( LevelError = iota LevelWarn LevelInfo LevelDebug LevelAll )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface {
Error(v ...interface{})
Errorf(format string, v ...interface{})
Warn(v ...interface{})
Warnf(format string, v ...interface{})
Info(v ...interface{})
Infof(format string, v ...interface{})
Debug(v ...interface{})
Debugf(format string, v ...interface{})
SetLevel(level int)
SetOutput(w io.Writer)
}
Click to show internal directories.
Click to hide internal directories.