Implement support for removeAllHandlers() in Logger.