LogWriter is interface for different writer.
| 18 | |
| 19 | // LogWriter is interface for different writer. |
| 20 | type LogWriter interface { |
| 21 | Write(v []byte) |
| 22 | NeedPrefix() bool |
| 23 | } |
| 24 | |
| 25 | // ConsoleWriter writes the logs to the console. |
| 26 | type ConsoleWriter struct { |
no outgoing calls
no test coverage detected