add a log entry