Info logs the msg and fields at LevelInfo.
(ctx context.Context, msg string, fields ...Field)
| 86 | |
| 87 | // Info logs the msg and fields at LevelInfo. |
| 88 | func (l Logger) Info(ctx context.Context, msg string, fields ...Field) { |
| 89 | l.log(ctx, LevelInfo, msg, fields) |
| 90 | } |
| 91 | |
| 92 | // Warn logs the msg and fields at LevelWarn. |
| 93 | func (l Logger) Warn(ctx context.Context, msg string, fields ...Field) { |