Documentation ¶
Index ¶
- Constants
- func Check(s string, err error)
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func New() *logManager
- func NewLogger() *logManager
- func SetLogLevel(level Level)
- func SetLogModel(model string)
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- type Level
Constants ¶
View Source
const ( LevelFatal = iota LevelError LevelWarning LevelInfo LevelDebug )
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶
func SetLogLevel(level Level)
func SetLogModel ¶
func SetLogModel(model string)
Types ¶
Click to show internal directories.
Click to hide internal directories.