Warn starts a new message with warn level. You must call Msg on the returned event in order to send the event.
()
| 360 | // |
| 361 | // You must call Msg on the returned event in order to send the event. |
| 362 | func (l *Logger) Warn() *Event { |
| 363 | return l.newEvent(WarnLevel, nil) |
| 364 | } |
| 365 | |
| 366 | // Error starts a new message with error level. |
| 367 | // |