Writer is an interface which writes output to somewhere for katana events.
| 35 | |
| 36 | // Writer is an interface which writes output to somewhere for katana events. |
| 37 | type Writer interface { |
| 38 | // Close closes the output writer interface |
| 39 | Close() error |
| 40 | // Write writes the event to file and/or screen. |
| 41 | Write(*Result) error |
| 42 | WriteErr(*Error) error |
| 43 | } |
| 44 | |
| 45 | // StandardWriter is an standard output writer structure |
| 46 | type StandardWriter struct { |
no outgoing calls
no test coverage detected