Versions in this module Expand all Collapse all v0 v0.0.2 Aug 8, 2022 Changes in this version + var StdErr = colorable.NewColorableStderr() + var StdOut = color.Output + func HaveDebugTag(tag string) bool + func SetupVerboseLog(log Log, isVerbose bool) + type DebugFunc func(format string, args ...interface{}) + func Debug(tag string) DebugFunc + type Log interface + Child func(name string) Log + Errorf func(format string, args ...interface{}) + Fatalf func(format string, args ...interface{}) + Infof func(format string, args ...interface{}) + Panicf func(format string, args ...interface{}) + SetLevel func(level LogLevel) + Warnf func(format string, args ...interface{}) + type LogLevel int + const LogLevelDebug + const LogLevelError + const LogLevelInfo + const LogLevelWarn + type MockLog struct + func NewMockLog() *MockLog + func (m *MockLog) Child(name string) Log + func (m *MockLog) Errorf(format string, args ...interface{}) + func (m *MockLog) Fatalf(format string, args ...interface{}) + func (m *MockLog) Infof(format string, args ...interface{}) + func (m *MockLog) Panicf(format string, args ...interface{}) + func (m *MockLog) SetLevel(level LogLevel) + func (m *MockLog) Warnf(format string, args ...interface{}) + type StderrLog struct + func NewStderrLog(name string) *StderrLog + func (sl *StderrLog) SetLevel(level LogLevel) + func (sl StderrLog) Child(name string) Log + func (sl StderrLog) Debugf(format string, args ...interface{}) + func (sl StderrLog) Errorf(format string, args ...interface{}) + func (sl StderrLog) Fatalf(format string, args ...interface{}) + func (sl StderrLog) Infof(format string, args ...interface{}) + func (sl StderrLog) Panicf(format string, args ...interface{}) + func (sl StderrLog) Warnf(format string, args ...interface{})