def METHOD_NAME(value, base):
    """
    This function returns the logarithm of 'value' to the given base 'base'
    """
    if value is None:
        raise errors.AnsibleFilterError('value is not provided')
    if base is None:
        raise errors.AnsibleFilterError('base is not provided')
    if not isinstance(value, int):
        raise errors.AnsibleFilterError('Wrong type for value')
    if not isinstance(base, int):
        raise errors.AnsibleFilterError('Wrong type for base')
    return math.METHOD_NAME(value, base)