stdoutLogger adapts io.Writer to engine.Logger with Printf-style lines.
| 18 | |
| 19 | // stdoutLogger adapts io.Writer to engine.Logger with Printf-style lines. |
| 20 | type stdoutLogger struct{ w io.Writer } |
| 21 | |
| 22 | func (l stdoutLogger) Debugf(f string, args ...any) { fmt.Fprintf(l.w, "DEBUG "+f+"\n", args...) } |
| 23 | func (l stdoutLogger) Infof(f string, args ...any) { fmt.Fprintf(l.w, f+"\n", args...) } |
nothing calls this directly
no outgoing calls
no test coverage detected