Decorator that configures output verbosity.

def with_output(verbosity=1):
    """
    Decorator that configures output verbosity.
    """
    def make_wrapper(func):
        @wraps(func)
        def wrapper(*args, **kwargs):
            configure_output(verbosity=verbosity)
            return func(*args, **kwargs)
        return wrapper
    return make_wrapper