Esempio n. 1
0
 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);
   }
 }
Esempio n. 2
0
 private boolean isEnabledFor(final org.apache.logging.log4j.Level level) {
   return logger.isEnabled(level, null, null);
 }