void log(Level level, String msg, Exception e) {
        if (e != null)
            logger.log(level, msg, e);
    }
void log ( Level level , String msg , Exception e ) { if ( e != null ) logger . log ( level , msg , e ) ; }
Logs a message with an exception.

@param level the level of the message
@param msg the message
@param e the exception causing the message