Println writes the arguments to the stderr writer with a newline at the end.
(v ...interface{})
| 43 | |
| 44 | // Println writes the arguments to the stderr writer with a newline at the end. |
| 45 | func (h *Handler) Println(v ...interface{}) (int, error) { |
| 46 | if !h.IO.IsStdoutTTY() { |
| 47 | return 0, nil |
| 48 | } |
| 49 | return fmt.Fprintln(h.IO.ErrOut, v...) |
| 50 | } |
| 51 | |
| 52 | func (h *Handler) OutPrintln(v ...interface{}) (int, error) { |
| 53 | return fmt.Fprintln(h.IO.Out, v...) |