code: public static <T extends Throwable> void printHistory(final T th, final Logger logger) {
          printHistory(th, logger, LogLevel.ERROR);
      }
docs: Print Exception messages without stack trace in non debug mode. Method prints recursive all messages of the given exception stack to get a history overview of the causes. In verbose mode (app
  -v) the stacktrace is printed in the end of history. The logging level is fixed to level "error".
  
  @param <T> Exception type
  @param th exception stack to print.
  @param logger