(args ...any)
| 47 | } |
| 48 | |
| 49 | func (l *ghostLogger) Error(args ...any) error { |
| 50 | slog.ErrorContext(l.ctx, fmt.Sprintf(args[0].(string), args[1:]...)) |
| 51 | return errors.Errorf(args[0].(string), args[1:]) |
| 52 | } |
| 53 | |
| 54 | func (l *ghostLogger) Errorf(format string, args ...any) error { |
| 55 | slog.ErrorContext(l.ctx, fmt.Sprintf(format, args...)) |