package printer
import "github.com/amonks/run/printer"
Package printer provides a non-interactive UI for displaying interleaved multiplexed streams. The UI prints interleaved output from all of the streams to its Stdout. The output is suitable for piping to a file.
Index
Functions
func New
func New(run *runner.Run) runner.UI
New produces a non-interactive UI for displaying interleaved multiplexed streams. The UI prints interleaved output from all of the streams to its Stdout. The output is suitable for piping to a file.
The UI can be passed into runner.Run.Start to display a run's execution.
The UI is safe to access concurrently from multiple goroutines.