@classmethod
def create_log(cls, name, description=None, resource_type='security_group',
    resource_id=None, target_id=None, event='ALL', enabled=True):
    """Wrapper utility that returns a test log object."""
    log_args = {'name': name, 'description': description, 'resource_type':
        resource_type, 'resource_id': resource_id, 'target_id': target_id,
        'event': event, 'enabled': enabled}
    body = cls.admin_client.create_log(**log_args)
    log_object = body['log']
    cls.log_objects.append(log_object)
    return log_object
