private void maybeLog( final String fqcn, final org.apache.logging.log4j.Level level, final Object message, final Throwable throwable) { if (logger.isEnabled(level, null, message, throwable)) { logger.logMessage(FQCN, level, null, new ObjectMessage(message), throwable); } }
private boolean isEnabledFor(final org.apache.logging.log4j.Level level) { return logger.isEnabled(level, null, null); }