def multi_log(handler, *args, level='info'):
    """ Log multiple arguments in one statement. """
    for arg in args:
        if level == 'info':
            handler.info(arg)
        elif level == 'debug':
            handler.debug(arg)
        else:
            raise NameError('Argument level={} is not valid'.format(level))
