def log_msgs(process, response, quiet=False):
    """
    Log messages to `logger`

    `msgs` is an iterable of strings or exceptions.  Strings are logged to
    level INFO, exceptions are logged to level ERROR.

    If `quiet` evaluates to True, INFO messages are not logged.
    """
    if not quiet:
        for msg in response.msgs:
            process.info(msg)
    for error in response.errors:
        process.error(error)
