Versions in this module Expand all Collapse all v0 v0.0.1 Dec 4, 2022 Changes in this version + func AddLoggers(l ...Logger) + func AddStainingUsers(tags ...string) + func Close() + func Debugf(ctx context.Context, format string, v ...interface{}) + func DelStainingUsers(tags ...string) + func Errorf(ctx context.Context, format string, v ...interface{}) + func GetStainingUsers() []string + func HijackStdlog() + func Infof(ctx context.Context, format string, v ...interface{}) + func LevelEnabled(lv Level) bool + func Logf(ctx context.Context, caller *Caller, lv Level, format string, v ...interface{}) + func SetCallerEnable(enable bool) + func Warnf(ctx context.Context, format string, v ...interface{}) + func WrapWriter(lv Level, tag string) io.Writer + type Caller struct + File string + Line int + type Level int8 + const LevelDebug + const LevelError + const LevelInfo + const LevelWarn + func (l Level) Enabled(lv Level) bool + func (l Level) String() string + func (l Level) StringShort() byte + type Logger interface + Close func() + GetLevel func() Level + Log func(t time.Time, lv Level, tid string, c *Caller, format string, v ...interface{}) + SetLevel func(Level)