Fprintln is a wrapper for fmt.Fprintln that treats each argument as if it passed with a Formatter interface returned by c.NewFormatter. See NewFormatter for formatting details. This function is shorthand for the following syntax: fmt.Fprintln(w, c.NewFormatter(a), c.NewFormatter(b))
(w io.Writer, a ...interface{})
| 148 | // |
| 149 | // fmt.Fprintln(w, c.NewFormatter(a), c.NewFormatter(b)) |
| 150 | func (c *ConfigState) Fprintln(w io.Writer, a ...interface{}) (n int, err error) { |
| 151 | return fmt.Fprintln(w, c.convertArgs(a)...) |
| 152 | } |
| 153 | |
| 154 | // Print is a wrapper for fmt.Print that treats each argument as if it were |
| 155 | // passed with a Formatter interface returned by c.NewFormatter. It returns |