def clearLogLevels(self):
        """
        Clears all log levels to the default.
        """
        self._logLevelsByNamespace.clear()
        self._logLevelsByNamespace[None] = self.defaultLogLevel

        Clears all log levels to the default.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/logger/_filter.py