(format string, a ...any)
| 81 | } |
| 82 | |
| 83 | func (l *Logger) Errorf(format string, a ...any) { |
| 84 | if !l.canLog(slog.LevelError) { |
| 85 | return |
| 86 | } |
| 87 | l.log(slog.LevelError, fmt.Sprintf(format, a...)) |
| 88 | } |
| 89 | |
| 90 | func (l *Logger) Warningf(format string, a ...any) { |
| 91 | if !l.canLog(slog.LevelWarn) { |
nothing calls this directly
no test coverage detected