def METHOD_NAME(message, since = "Unknown"): #pylint: disable=bad-whitespace
    """Decorator that can be used to indicate a method has been deprecated
    :param message: The message to display when the method is called. Should include a suggestion about what to use.
    :param since: A version since when this method has been deprecated.
    """
    def deprecated_decorator(function):
        def deprecated_function(*args, **kwargs):
            warning = "{0} is deprecated (since {1}): {2}".format(function, since, message)
            Logger.log("w_once", warning)
            warnings.warn(warning, DeprecationWarning, stacklevel=2)
            return function(*args, **kwargs)
        return deprecated_function
    return deprecated_decorator