Documentation ¶
Index ¶
- func Debug(msg string)
- func Debugf(msg string, args ...interface{})
- func Err(msg string)
- func Errf(msg string, args ...interface{})
- func Fatal(reason string)
- func Fatalf(reason string, args ...interface{})
- func Info(msg string)
- func Infof(msg string, args ...interface{})
- func Notice(msg string)
- func Noticef(msg string, args ...interface{})
- func Panic(reason string)
- func Panicf(reason string, args ...interface{})
- func ReconfigureLogger(settings Settings)
- type Settings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(msg string, args ...interface{})
Debugf logs formatted debug level messages to gomates default logger
func Errf ¶
func Errf(msg string, args ...interface{})
Errf logs formatted error level messages to gomates default logger
func Fatalf ¶
func Fatalf(reason string, args ...interface{})
Fatalf logs formatted fatal level messages to gomates default logger
func Infof ¶
func Infof(msg string, args ...interface{})
Infof logs formatted info level messages to gomates default logger
func Noticef ¶
func Noticef(msg string, args ...interface{})
Noticef logs formatted notice level messages to gomates default logger
func Panic ¶
func Panic(reason string)
Panic logs formatted panic level messages to gomates default logger
func Panicf ¶
func Panicf(reason string, args ...interface{})
Panicf logs panic level messages to gomates default logger
func ReconfigureLogger ¶
func ReconfigureLogger(settings Settings)
ReconfigureLogger updated default logger and change priority and tags, it might also change destination, for instance start logging to syslog-server at remote host via TCP or UDP.