Write serializes the Entry and any Fields supplied at the log site and writes them to their destination. If called, Write should always log the Entry and Fields; it should not replicate the logic of Check.
(Entry, []Field)
| 40 | // If called, Write should always log the Entry and Fields; it should not |
| 41 | // replicate the logic of Check. |
| 42 | Write(Entry, []Field) error |
| 43 | // Sync flushes buffered logs (if any). |
| 44 | Sync() error |
| 45 | } |
no outgoing calls