OnWrite is invoked with the CheckedEntry that was written and a list of fields added with that entry. The list of fields DOES NOT include fields that were already added to the logger with the With method.
(*CheckedEntry, []Field)
| 168 | // The list of fields DOES NOT include fields that were already added |
| 169 | // to the logger with the With method. |
| 170 | OnWrite(*CheckedEntry, []Field) |
| 171 | } |
| 172 | |
| 173 | // CheckWriteAction indicates what action to take after a log entry is |