public static void printStackTrace(final Logger logger, final LogLevel logLevel) {
        printStackTrace((String) null, logger, logLevel);
    }
public static void printStackTrace ( final Logger logger , final LogLevel logLevel ) { printStackTrace ( ( String ) null , logger , logLevel ) ; }
Method prints the stack trace of the calling thread in a human readable way.

@param logger   the logger used for printing.
@param logLevel the log level used for logging the stack trace.