Warn logs the msg and fields at LevelWarn.
(ctx context.Context, msg string, fields ...Field)
| 91 | |
| 92 | // Warn logs the msg and fields at LevelWarn. |
| 93 | func (l Logger) Warn(ctx context.Context, msg string, fields ...Field) { |
| 94 | l.log(ctx, LevelWarn, msg, fields) |
| 95 | } |
| 96 | |
| 97 | // Error logs the msg and fields at LevelError. |
| 98 | // |