(format string, a ...any)
| 47 | } |
| 48 | |
| 49 | func (c ConditionalLogger) Errorf(format string, a ...any) ElseBranch { |
| 50 | return c.logf(slog.LevelError, format, a...) |
| 51 | } |
| 52 | |
| 53 | func (c ConditionalLogger) Warningf(format string, a ...any) ElseBranch { |
| 54 | return c.logf(slog.LevelWarn, format, a...) |