Sdump returns a string with the passed arguments formatted exactly the same as Dump.
(a ...interface{})
| 476 | // Sdump returns a string with the passed arguments formatted exactly the same |
| 477 | // as Dump. |
| 478 | func Sdump(a ...interface{}) string { |
| 479 | var buf bytes.Buffer |
| 480 | fdump(&Config, &buf, a...) |
| 481 | return buf.String() |
| 482 | } |
| 483 | |
| 484 | /* |
| 485 | Dump displays the passed parameters to standard out with newlines, customizable |