modified Log implements Comparable<Log>