Bytes returns the bytes representation of this entry from the formatter.
()
| 90 | |
| 91 | // Bytes returns the bytes representation of this entry from the formatter. |
| 92 | func (entry *Entry) Bytes() ([]byte, error) { |
| 93 | return entry.Logger.Formatter.Format(entry) |
| 94 | } |
| 95 | |
| 96 | // String returns the string representation from the reader and ultimately the |
| 97 | // formatter. |