(format string, a ...any)
| 88 | } |
| 89 | |
| 90 | func (l *Logger) Warningf(format string, a ...any) { |
| 91 | if !l.canLog(slog.LevelWarn) { |
| 92 | return |
| 93 | } |
| 94 | l.log(slog.LevelWarn, fmt.Sprintf(format, a...)) |
| 95 | } |
| 96 | |
| 97 | func (l *Logger) Noticef(format string, a ...any) { |
| 98 | if !l.canLog(levelNotice) { |
nothing calls this directly
no test coverage detected