def clearLoggers(self, logger):
        """
        Removes the inputed logger from the set for this widget.
        
        :param      logger | <str> || <logging.Logger>
        """
        for logger in self._loggers:
            if logger == 'root':
                logger = logging.getLogger()
            else:
                logger = logging.getLogger(logger)
            logger.removeHandler(self.handler())
        
        self._loggers = set()
def clearLoggers ( self , logger ) : for logger in self . _loggers : if logger == 'root' : logger = logging . getLogger ( ) else : logger = logging . getLogger ( logger ) logger . removeHandler ( self . handler ( ) ) self . _loggers = set ( )
Removes the inputed logger from the set for this widget.
        
        :param      logger | <str> || <logging.Logger>