Write writes the provided logger event to the file.
(event *Event)
| 25 | |
| 26 | // Write writes the provided logger event to the file. |
| 27 | func (f *File) Write(event *Event) { |
| 28 | |
| 29 | f.writer.Write([]byte(event.fmsg)) |
| 30 | } |
| 31 | |
| 32 | // Close closes the file. |
| 33 | func (f *File) Close() { |