code: private void write(I_CmsReport report, String string) {
  
          report.println(
              org.opencms.report.Messages.get().container(
                  org.opencms.report.Messages.RPT_ARGUMENT_1,
                  string.replaceAll("'", "\\\\'")));
          if (LOG.isInfoEnabled()) {
              LOG.info("SQLConsole:" + string);
          }
      }
docs: Writes the given string to the report,
  and, if enabled, to the opencms log file.<p>
  
  @param report the report
  @param string the string