Fprintln is a wrapper for fmt.Fprintln that treats each argument as if it passed with a default Formatter interface returned by NewFormatter. See NewFormatter for formatting details. This function is shorthand for the following syntax: fmt.Fprintln(w, spew.NewFormatter(a), spew.NewFormatter(b))
(w io.Writer, a ...interface{})
| 65 | // |
| 66 | // fmt.Fprintln(w, spew.NewFormatter(a), spew.NewFormatter(b)) |
| 67 | func Fprintln(w io.Writer, a ...interface{}) (n int, err error) { |
| 68 | return fmt.Fprintln(w, convertArgs(a)...) |
| 69 | } |
| 70 | |
| 71 | // Print is a wrapper for fmt.Print that treats each argument as if it were |
| 72 | // passed with a default Formatter interface returned by NewFormatter. It |