Logging

The runner logs with loguru. Every invocation gets a trace_id that appears in all its log lines. Task code should use the same logger so its messages carry that id:

from celery_cloud.logging import logger

def add(args: list, kwargs: dict) -> int:
    logger.info("adding {} numbers", len(args))
    return sum(args)