@Override
    public boolean equals(final Object other) {
        return other instanceof Level && other == this;
    }
Return the Level associated with the name.

@param name The name of the Level to return.
@return The Level.
@throws NullPointerException     if the Level name is {@code null}.
@throws IllegalArgumentException if the Level name is not registered.
modules/siddhi-core/src/main/java/io/siddhi/core/util/statistics/metrics/Level.java