async def METHOD_NAME(caplog):
    rand_string = str(uuid.uuid4())
    app = Sanic(name="Test")
    @app.get("/")
    def log_info(request):
        logger.info(rand_string)
        return text("hello")
    with caplog.at_level(logging.INFO):
        _ = await app.asgi_client.get("/")
    record = ("sanic.root", logging.INFO, rand_string)
    assert record in caplog.record_tuples