private boolean isLoggable(int level) {
    return getLogWriterLevel() <= level;
  }
Check if a message of the given level would actually be logged by this logger. This check is
based on the Logger effective level.

@param level a message logging level
@return true if the given message level is currently being logged.
geode-core/src/main/java/org/apache/geode/internal/logging/LogWriterImpl.java