docs: protected void println(String line) {
          if (output instanceof PrintStream) {
              ((PrintStream) output).println(line);
          } else {
              ((PrintWriter) output).println(line);
          }
      }