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