code: public String formatValue(ReportValue val) {
        if (log.isLoggable(Level.FINE) || debug) {
           log.fine("raw: " + val + ", formatted: " + doFormatValue(val));
        }
        return doFormatValue(val);
     }
docs: formats values according to the format patterns specified in this formatter, or uses
  {@link ReportValue#getAlternateFormat() } if provided.
  @param val
  @return