public boolean equals(Object other){
        if(other instanceof LogEvent){
            LogEvent otherEvent = (LogEvent)other;
            return otherEvent.getLevel().equals(getLevel()) &&
                    otherEvent.getMessage().equals(getMessage()) &&
                    otherEvent.getOriginalLogger().equals(getOriginalLogger()) &&
                    (otherEvent.getThrowable() != null ? otherEvent.getThrowable().equals(getThrowable()) : getThrowable() == null);
        }
        return false;
    }