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