Versions in this module Expand all Collapse all v0 v0.0.2 Aug 14, 2019 v0.0.1 Aug 14, 2019 Changes in this version + type LogLevel int + const LevelDebug + const LevelError + const LevelInfo + const LevelNone + const LevelWarn + func Levelify(levelString string) (LogLevel, error) + type Logger interface + Debug func(tag, msg string, args ...interface{}) + DebugWithDetails func(tag, msg string, args ...interface{}) + Error func(tag, msg string, args ...interface{}) + ErrorWithDetails func(tag, msg string, args ...interface{}) + Flush func() error + FlushTimeout func(time.Duration) error + HandlePanic func(tag string) + Info func(tag, msg string, args ...interface{}) + ToggleForcedDebug func() + Warn func(tag, msg string, args ...interface{}) + func New(level LogLevel, out *log.Logger) Logger + func NewAsyncWriterLogger(level LogLevel, ioWriter io.Writer) Logger + func NewLogger(level LogLevel) Logger + func NewWriterLogger(level LogLevel, writer io.Writer) Logger