Versions in this module Expand all Collapse all v0 v0.0.1 Oct 16, 2020 Changes in this version + var ErrInvalidLogLevel = errors.New("unrecognized log level") + type Level int + const Debug + const Error + const Info + const Warn + func (lvl *Level) UnmarshalText(text string) error + func (lvl Level) String() string + type Logger interface + Debug func(string) + Error func(string) + Info func(string) + Warn func(string) + func New(out io.Writer, levelText string) (Logger, error)