Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level uint
Level expresses a logging level
func ParseLevel ¶
ParseLevel turns the designated string into a log level or returns an error.
type Logger ¶
type Logger interface { SetLevel(Level) Debug(...interface{}) Debugf(string, ...interface{}) Debugln(...interface{}) Info(...interface{}) Infof(string, ...interface{}) Infoln(...interface{}) Warn(...interface{}) Warnf(string, ...interface{}) Warnln(...interface{}) Error(...interface{}) Errorf(string, ...interface{}) Errorln(...interface{}) GetLogger(Level) *log.Logger }
Logger offers various methods for logging information to the console
Click to show internal directories.
Click to hide internal directories.