public boolean equals(Object o) {
    if (o instanceof Level) {
      Level l = (Level) o;
      return l.value == value;
    }

    return (false);
  }
Two levels are equal if they have the same integer value
geode-core/src/test/java/org/apache/persistence/logging/Level.java