@Override
    public String toString() {
        return "LogOffsetSnapshot(" +
                "logStartOffset=" + logStartOffset +
                ", logEndOffset=" + logEndOffset +
                ", highWatermark=" + highWatermark +
                ", lastStableOffset=" + lastStableOffset +
                ')';
    }
Container class which represents a snapshot of the significant offsets for a partition. This allows fetching
of these offsets atomically without the possibility of a leader change affecting their consistency relative
to each other. See {@link UnifiedLog#fetchOffsetSnapshot()}.
storage/src/main/java/org/apache/kafka/storage/internals/log/LogOffsetSnapshot.java