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