Simplified event and data formatting and logging.