def METHOD_NAME(sentry_init, capture_events):
    sentry_init(integrations=[LoggingIntegration()], default_integrations=False)
    events = capture_events()
    ignore_logger("testfoo")
    other_logger.error("hi")
    assert not events