Documentation
¶
Overview ¶
Package logo provides global logging methods so that multiple packages may log to a single application-defined stream.
If any logging method is called before AddLogger/ReleaseLogger is called, nothing will be outputted.
Index ¶
- Constants
- func AddLogger(module string, w io.Writer, levelMask int) *log.Logger
- func Critical(format string, v ...interface{})
- func Debug(format string, v ...interface{})
- func Error(format string, v ...interface{})
- func GetLogger(module string) *log.Logger
- func Info(format string, v ...interface{})
- func Notice(format string, v ...interface{})
- func ReleaseLogger(module string) bool
- func Warn(format string, v ...interface{})
- type LevelBasedLogger
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func ReleaseLogger ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.