Add a log entry