Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Log ¶
func Log(verbose bool, stdout io.Writer, stderr io.Writer) (log *bytes.Buffer, loggedStdout io.Writer, loggedStderr io.Writer)
Log returns a buffer and two Writers. Data written to the writers is combined and stored in the buffer. If verbose = true, it is also written to the two provided Writers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.