Writing logs as key-value records (JSON) with consistent fields such as trace_id and user_id, so they can be searched and aggregated.