internal/storage/log.go (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
package storage import "go.uber.org/zap" type Logger struct { *zap.SugaredLogger } func (l Logger) Warning(v ...any) { l.Warn(v...) } func (l Logger) Warningf(format string, v ...any) { l.Warnf(format, v...) }