package logx import ( "context" "time" ) type Logger interface { Info(...any) Infof(string, ...any) Slow(...any) Slowf(string, ...any) Debug(...any) Debugf(string, ...any) Error(...any) Errorf(string, ...any) WithCallerSkip(skip int) Logger WithContext(context.Context) Logger WithDuration(d time.Duration) Logger WithFields(fields ...LogField) Logger }