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