Versions in this module Expand all Collapse all v0 v0.9.2 May 24, 2021 Changes in this version + func NewSyncWriter(w io.Writer) io.Writer + func NewTMFmtLogger(w io.Writer) kitlog.Logger + type Logger interface + Debug func(msg string, keyvals ...interface{}) + Error func(msg string, keyvals ...interface{}) + Info func(msg string, keyvals ...interface{}) + With func(keyvals ...interface{}) Logger + func NewFilter(next Logger, options ...Option) Logger + func NewNopLogger() Logger + func NewTMJSONLogger(w io.Writer) Logger + func NewTMLogger(w io.Writer) Logger + func NewTMLoggerWithColorFn(w io.Writer, colorFn func(keyvals ...interface{}) term.FgBgColor) Logger + func NewTracingLogger(next Logger) Logger + func TestingLogger() Logger + func TestingLoggerWithColorFn(colorFn func(keyvals ...interface{}) term.FgBgColor) Logger + func TestingLoggerWithOutput(w io.Writer) Logger + type Option func(*filter) + func AllowAll() Option + func AllowDebug() Option + func AllowDebugWith(key interface{}, value interface{}) Option + func AllowError() Option + func AllowErrorWith(key interface{}, value interface{}) Option + func AllowInfo() Option + func AllowInfoWith(key interface{}, value interface{}) Option + func AllowLevel(lvl string) (Option, error) + func AllowNone() Option + func AllowNoneWith(key interface{}, value interface{}) Option