Progress.printStdErr constructor

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

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

Implementation

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