More elegant log record composition