Removes all registered instances of log functions with the given user data.
user data of the log function to remove
How many instances of the function were removed
Removes all registered instances of log functions with the given user data.