def get_parsed_log_messages(mock_log, log_level):
    """Return the parsed log message sent to a mock log call at log_level

    Example:

        log = Mock()

        def do_something(data1, data2):
            log.info('Doing something with %s and %s', data1, data2)

        do_something('one', 'two')

        get_parsed_log_message(log, 'error')
        # => 'Doing something with one and two'

    """
    calls = getattr(mock_log, log_level).call_args_list
    if not calls:
        raise Exception('%s.%s was not called' % (mock_log, log_level))
    messages = []
    for call_args in calls:
        args, kwargs = call_args
        messages.append(args[0] % tuple(args[1:]))
    return messages