Progress.printStdOut constructor

Progress.printStdOut({
  1. bool capture = false,
})

Use this progress to only output data sent to stdout. If capture is true (defaults to false) the output to stdout is also captured and will be available in lines once the process completes.

Implementation

Progress.printStdOut({bool capture = false})
    : _includeStdout = true,
      _includeStderr = false,
      _captureStdout = capture {
  _wireStreams(print, devNull);
}