Errorf produces a formatted log with error level.
(format string, args ...interface{})
| 131 | |
| 132 | // Errorf produces a formatted log with error level. |
| 133 | func (e *EchoLogger) Errorf(format string, args ...interface{}) { |
| 134 | e.logger.Error().Msgf(format, args...) |
| 135 | } |
| 136 | |
| 137 | // Errorj produces a json log with error level. |
| 138 | func (e *EchoLogger) Errorj(j echologger.JSON) { |