Versions in this module Expand all Collapse all v0 v0.1.4 Dec 29, 2020 Changes in this version + type ColorfulLogger struct + Blue Logger + Cyan Logger + Green Logger + Magenta Logger + Red Logger + White Logger + Yellow Logger + func NewColorful(level Level) *ColorfulLogger + func (l *ColorfulLogger) SetLevel(level Level) + type Level int + const Debug + const Error + const Fatal + const Info + const None + const Trace + const Warn + type Logger interface + Debugf func(format string, v ...interface{}) + Errorf func(format string, v ...interface{}) + Fatalf func(format string, v ...interface{}) + GetLevel func() Level + Infof func(format string, v ...interface{}) + SetLevel func(l Level) + Tracef func(format string, v ...interface{}) + Warnf func(format string, v ...interface{}) + func New(level Level) Logger + func NewColored(level Level, color *color.Color) Logger