def METHOD_NAME(self):
    """Ensure custom log injection via get_correlation_log_record returns proper tracer information."""
    capture_log = structlog.testing.LogCapture()
    structlog.configure(processors=[tracer_injection, capture_log, structlog.processors.JSONRenderer()])
    logger = structlog.get_logger()
    with override_global_config(dict(version="global-version", env="global-env", service="global-service")):
        with tracer.trace("test span") as span:
            logger.msg("Hello!")
    assert len(capture_log.entries) == 1
    assert capture_log.entries[0]["event"] == "Hello!"
    dd_log_record = capture_log.entries[0]["dd"]
    assert dd_log_record == {
        "span_id": str(span.span_id),
        "trace_id": str(span.trace_id),
        "service": "global-service",
        "env": "global-env",
        "version": "global-version",
    }