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 InfoJSON(v interface{})
- func Infof(format string, v ...interface{})
- func Md5(b []byte) string
- func New() *logManager
- func NewLogger() *logManager
- func SetLogLevel(level Level)
- func Stack(msg 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)
Types ¶
Click to show internal directories.
Click to hide internal directories.