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