aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java
public static int compareLog(final ClusterMember lhs, final ClusterMember rhs)
    {
        return compareLog(lhs.leadershipTermId, lhs.logPosition, rhs.leadershipTermId, rhs.logPosition);
    }
public static int compareLog(final ClusterMember lhs, final ClusterMember rhs)
    {
        return compareLog(lhs.leadershipTermId, lhs.logPosition, rhs.leadershipTermId, rhs.logPosition);
    }
public static int compareLog ( final ClusterMember lhs , final ClusterMember rhs ) { return compareLog ( lhs . leadershipTermId , lhs . logPosition , rhs . leadershipTermId , rhs . logPosition ) ; }
The result is positive if lhs has the more recent log, zero if logs are equal, and negative if rhs has the more
recent log.

@param lhs member to compare.
@param rhs member to compare.
@return positive if lhs has the more recent log, zero if logs are equal, and negative if rhs has the more
recent log.
The result is positive if lhs has the more recent log zero if logs are equal and negative if rhs has the more recent log .