code: public void prettyPrintsReport(File logDir) throws Exception {
          if ((!logDir.exists()) || (!logDir.isDirectory())) {
              throw new Exception("Error: LOGDIR " + logDir.getAbsolutePath()
                      + " seems not a valid directory. ");
          }
          File html_logs_report_file = new File(logDir.getAbsolutePath()
                  + File.separator + "report.html");
          prettyPrintsReport(logDir, html_logs_report_file);
      }
docs: Create the pretty print HTML document of log report. Verify the content
  of log root directory and create the report.html file if it not exists.
  
  @param logDir
  existing logs directory