Warn starts a new message with warn level. You must call Msg on the returned event in order to send the event.
()
| 71 | // |
| 72 | // You must call Msg on the returned event in order to send the event. |
| 73 | func Warn() *zerolog.Event { |
| 74 | return Logger.Warn() |
| 75 | } |
| 76 | |
| 77 | // Error starts a new message with error level. |
| 78 | // |