Emitter is the final destination for logs.
| 79 | |
| 80 | // Emitter is the final destination for logs. |
| 81 | type Emitter interface { |
| 82 | // Emit emits the given log statement. This allows for control over the |
| 83 | // timestamp used for logging. |
| 84 | Emit(depth int, level Level, timestamp time.Time, format string, v ...any) |
| 85 | } |
| 86 | |
| 87 | // Writer writes the output to the given writer. |
| 88 | type Writer struct { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…