logf prints an informational message to stderr only when running interactively. Use this for progress and debug output that is not actionable.
(format string, args ...any)
| 91 | // interactively. Use this for progress and debug output that is |
| 92 | // not actionable. |
| 93 | func logf(format string, args ...any) { |
| 94 | if verbose { |
| 95 | log.Printf(format, args...) |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | // warnf prints a warning to stderr unconditionally. Use this for |
| 100 | // messages about real problems that a developer should investigate. |
no outgoing calls
no test coverage detected