Versions in this module Expand all Collapse all v1 v1.0.0 Oct 3, 2015 Changes in this version + var DefaultLogger = New() + type LogLevel int + const LevelDebug + const LevelFatal + const LevelInfo + const LevelOK + const LevelVerbose + const LevelWarn + const NumLevels + type Logger interface + AddHandler func(level LogLevel, h MessageHandler) + Debugf func(format string, vals ...interface{}) + Debugln func(vals ...interface{}) + Facilities func() (enabled, disabled []string) + Fatalf func(format string, vals ...interface{}) + Fatalln func(vals ...interface{}) + Infof func(format string, vals ...interface{}) + Infoln func(vals ...interface{}) + NewFacility func(facility string) Logger + Okf func(format string, vals ...interface{}) + Okln func(vals ...interface{}) + SetDebug func(facility string, enabled bool) + SetFlags func(flag int) + SetPrefix func(prefix string) + ShouldDebug func(facility string) bool + Verbosef func(format string, vals ...interface{}) + Verboseln func(vals ...interface{}) + Warnf func(format string, vals ...interface{}) + Warnln func(vals ...interface{}) + func New() Logger + type MessageHandler func(l LogLevel, msg string)