Error starts a new message with error level. You must call Msg on the returned event in order to send the event.
()
| 78 | // |
| 79 | // You must call Msg on the returned event in order to send the event. |
| 80 | func Error() *zerolog.Event { |
| 81 | return Logger.Error() |
| 82 | } |
| 83 | |
| 84 | // Fatal starts a new message with fatal level. The os.Exit(1) function |
| 85 | // is called by the Msg method. |