public boolean isWarnEnabled() {
        return logger.isLoggable(Level.WARNING);
    }
Is this logger instance enabled for the WARNING level?

@return True if this Logger is enabled for the WARNING level, false
        otherwise.
slf4j-jdk14/src/main/java/org/slf4j/jul/JDK14LoggerAdapter.java