Error logs the given entry at an error level
(msg string)
| 123 | |
| 124 | // Error logs the given entry at an error level |
| 125 | func (e Entry) Error(msg string) { |
| 126 | e.write(LevelError, msg) |
| 127 | } |
| 128 | |
| 129 | // ErrorWrap logs the given entry with the error message annotated by the given message |
| 130 | func (e Entry) ErrorWrap(err error, msg string) { |