Sink is the destination of a Logger. All sinks must be safe for concurrent use.
| 27 | // |
| 28 | // All sinks must be safe for concurrent use. |
| 29 | type Sink interface { |
| 30 | LogEntry(ctx context.Context, e SinkEntry) |
| 31 | Sync() |
| 32 | } |
| 33 | |
| 34 | // Log logs the given entry with the context to the |
| 35 | // underlying sinks. |
no outgoing calls
no test coverage detected