docs: function EventWriter(output, error) {
          this._out = utils.isUndefined(output) ? process.stdout : output;
          this._err = utils.isUndefined(error) ? process.stderr : error;
  
          // Has the opening <stream> tag been written yet?
          this._headerWritten = false;
      }