Versions in this module Expand all Collapse all v0 v0.9.0 Apr 4, 2019 Changes in this version + const LEVEL_CRITICAL + const LEVEL_DEBUG + const LEVEL_ERROR + const LEVEL_INFO + const LEVEL_WARNING + var ErrInvalidLogLevel = fmt.Errorf("invalid log level") + var NoOp = NewLogger("CRITICAL", ioutil.Discard, "") + type Logger interface + Critical func(v ...interface{}) + Debug func(v ...interface{}) + Error func(v ...interface{}) + Fatal func(v ...interface{}) + Info func(v ...interface{}) + Warning func(v ...interface{}) + func NewLogger(level string, out io.Writer, prefix string) (Logger, error)