Printf writes the formatted arguments to the stderr writer.
(f string, v ...any)
| 31 | |
| 32 | // Printf writes the formatted arguments to the stderr writer. |
| 33 | func (h *Handler) Printf(f string, v ...any) (int, error) { |
| 34 | if !h.IO.IsStdoutTTY() { |
| 35 | return 0, nil |
| 36 | } |
| 37 | return fmt.Fprintf(h.IO.ErrOut, f, v...) |
| 38 | } |
| 39 | |
| 40 | func (h *Handler) OutPrintf(f string, v ...any) (int, error) { |
| 41 | return fmt.Fprintf(h.IO.Out, f, v...) |
nothing calls this directly
no test coverage detected