Check determines whether the supplied Entry should be logged (using the embedded LevelEnabler and possibly some extra logic). If the entry should be logged, the Core adds itself to the CheckedEntry and returns the result. Callers must use Check before calling Write.
(Entry, *CheckedEntry)
| 34 | // |
| 35 | // Callers must use Check before calling Write. |
| 36 | Check(Entry, *CheckedEntry) *CheckedEntry |
| 37 | // Write serializes the Entry and any Fields supplied at the log site and |
| 38 | // writes them to their destination. |
| 39 | // |
no outgoing calls