Logger is the interface used in this package for logging, so that any backend can be plugged in. It is a subset of the github.com/go-logr/logr interface.
| 17 | // Logger is the interface used in this package for logging, so that any backend |
| 18 | // can be plugged in. It is a subset of the github.com/go-logr/logr interface. |
| 19 | type Logger interface { |
| 20 | // Info logs routine messages about cron's operation. |
| 21 | Info(msg string, keysAndValues ...interface{}) |
| 22 | // Error logs an error condition. |
| 23 | Error(err error, msg string, keysAndValues ...interface{}) |
| 24 | } |
| 25 | |
| 26 | // PrintfLogger wraps a Printf-based logger (such as the standard library "log") |
| 27 | // into an implementation of the Logger interface which logs errors only. |
no outgoing calls
no test coverage detected