(format string, a ...any)
| 59 | } |
| 60 | |
| 61 | func (c ConditionalLogger) Infof(format string, a ...any) ElseBranch { |
| 62 | return c.logf(slog.LevelInfo, format, a...) |
| 63 | } |
| 64 | |
| 65 | func (c ConditionalLogger) Debugf(format string, a ...any) ElseBranch { |
| 66 | return c.logf(slog.LevelDebug, format, a...) |