Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultBasicLogger = func(message string, args ...interface{}) { fmt.Printf(message, args...) }
Functions ¶
This section is empty.
Types ¶
type BasicLogger ¶
type BasicLogger func(string, ...interface{})
type LevelLogger ¶
type LevelLogger interface { Trace(...interface{}) Tracef(string, ...interface{}) Debug(...interface{}) Debugf(string, ...interface{}) Info(...interface{}) Infof(string, ...interface{}) Warn(...interface{}) Warnf(string, ...interface{}) Error(...interface{}) Errorf(string, ...interface{}) }
var DefaultLevelLogger LevelLogger = logger.New()