docs: private synchronized ByteArrayOutputStream writeCapturedData(SystemLogHolder holder, String txt, ByteArrayOutputStream capturedStream) {
          try {
              capturedStream.write(txt.getBytes());
  
              // If we're running in an Eclipse GUI, tee the output for usability
              if (IS_RUNNING_IN_ECLIPSE) {
                  if (holder == systemErr && err != null) {
                      err.println(txt);
                  } else if (out != null) {
                      out.println(txt);
                  }
              }
              capturedStream.write(nl.getBytes());
              return capturedStream;
          } catch (IOException ioe) {
              super.writeStreamOutput(systemErr, "Unable to write/contain captured trace data", true);
              super.writeStreamOutput(holder, txt, false);
              return null;
          }
      }