Errorf logs an error statement
(format string, v ...any)
| 35 | |
| 36 | // Errorf logs an error statement |
| 37 | func (l *LogWrapper) Errorf(format string, v ...any) { |
| 38 | msg := fmt.Sprintf(format, v...) |
| 39 | l.logger.Error().Msg(msg) |
| 40 | } |
| 41 | |
| 42 | // Debugf logs a debug statement |
| 43 | func (l *LogWrapper) Debugf(format string, v ...any) { |