public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (!(obj instanceof Marker))
            return false;

        final Marker other = (Marker) obj;
        return name.equals(other.getName());
    }
This method is mainly used with Expression Evaluators.
slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java