Progress.printStdErr constructor

Progress.printStdErr({
  1. bool capture = false,
  2. Encoding encoding = utf8,
})

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. Use encoding to control how output bytes are decoded into strings.

Implementation

factory Progress.printStdErr(
        {bool capture = false, Encoding encoding = utf8}) =>
    ProgressStdErrImpl(capture: capture, encoding: encoding);