Documentation ¶
Index ¶
- Constants
- func Debug(v ...interface{})
- func Debugf(f string, v ...interface{})
- func Debugln(v ...interface{})
- func Error(v ...interface{})
- func Errorf(f string, v ...interface{})
- func Errorln(v ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(f string, v ...interface{})
- func Fataln(v ...interface{})
- func Info(v ...interface{})
- func Infof(f string, v ...interface{})
- func Infoln(v ...interface{})
- func Log(l Level, m string)
- func NoColor()
- func Print(v ...interface{})
- func Printf(f string, v ...interface{})
- func Println(v ...interface{})
- func SetLogLevel(l Level)
- func SetLogLevelString(s string) error
- func SetMultiOutput(writers ...io.Writer)
- func Warn(v ...interface{})
- func Warnf(f string, v ...interface{})
- func Warnln(v ...interface{})
- type Level
Constants ¶
View Source
const ( LevelNone = iota LevelDebug LevelInfo LevelWarn LevelError LevelCrit )
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶
func SetLogLevel(l Level)
func SetLogLevelString ¶
func SetMultiOutput ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.