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 Fatalln(v ...interface{})
- func Info(v ...interface{})
- func Infof(f string, v ...interface{})
- func Infoln(v ...interface{})
- func Print(v ...interface{})
- func Printf(f string, v ...interface{})
- func Println(v ...interface{})
- func SetFlags(flag int)
- func SetLevel(l Level)
- func SetMultiOutput(writers ...io.Writer)
- func SetNoColor()
- func SetOutput(w 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 )
Level constants.
Variables ¶
This section is empty.
Functions ¶
func Fatalf ¶
func Fatalf(f string, v ...interface{})
Fatalf log message with formmating and exit with status 1.
func Fatalln ¶
func Fatalln(v ...interface{})
Fatalln log message with newline and exit with status 1.
func SetMultiOutput ¶
SetMultiOutput set multiple outputs.
Types ¶
Click to show internal directories.
Click to hide internal directories.