Sprintln is a wrapper for fmt.Sprintln that treats each argument as if it were passed with a Formatter interface returned by c.NewFormatter. It returns the resulting string. See NewFormatter for formatting details. This function is shorthand for the following syntax: fmt.Sprintln(c.NewFormatter
(a ...interface{})
| 217 | // |
| 218 | // fmt.Sprintln(c.NewFormatter(a), c.NewFormatter(b)) |
| 219 | func (c *ConfigState) Sprintln(a ...interface{}) string { |
| 220 | return fmt.Sprintln(c.convertArgs(a)...) |
| 221 | } |
| 222 | |
| 223 | /* |
| 224 | NewFormatter returns a custom formatter that satisfies the fmt.Formatter |