def METHOD_NAME(dummy_exporter):
    @log_exceptions(scope="exception-only")
    def failing_fn():
        raise ValueError(1)
    @log_exceptions_and_usage(scope="usage-and-exception")
    def entrypoint():
        failing_fn()
    with pytest.raises(ValueError):
        failing_fn()
    assert {
        "exception": repr(ValueError(1)),
        "scope": "exception-only",
        "entrypoint": "test_usage.test_only_exception_logging.<locals>.failing_fn",
    }.items() <= dummy_exporter[0].items()
    with pytest.raises(ValueError):
        entrypoint()
    assert {
        "exception": repr(ValueError(1)),
        "scope": "usage-and-exception",
        "entrypoint": "test_usage.test_only_exception_logging.<locals>.entrypoint",
    }.items() <= dummy_exporter[1].items()