Documentation ¶
Index ¶
- func Debugf(tmpl string, args ...interface{})
- func Errorf(tmpl string, args ...interface{})
- func Fatalf(tmpl string, args ...interface{})
- func Infof(tmpl string, args ...interface{})
- func InitLogger(cfg *config.LogConfig)
- func IsQuiet() bool
- func Panicf(tmpl string, args ...interface{})
- func Quietf(tmpl string, args ...interface{})
- func Warnf(tmpl string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fatalf ¶
func Fatalf(tmpl string, args ...interface{})
Fatalf logs a message at fatal level. The os.Exit(1) is called at the end. Due to os. Exit() being called, the defer function will not be called.
func Panicf ¶
func Panicf(tmpl string, args ...interface{})
Panicf logs a message at panic level. And then panics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.