def _set_log_level(self):
        """
        Inspects config and sets the log level as instance attr. If not present
        in config, default is "INFO".
        """
        # set log level on logger
        log_level = "INFO"
        if hasattr(self._config, "level") and self._config.level.upper() in ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]:
            log_level = self._config.level.upper()
        self._log_level = log_level
def _set_log_level ( self ) : log_level = "INFO" if hasattr ( self . _config , "level" ) and self . _config . level . upper ( ) in [ "DEBUG" , "INFO" , "WARNING" , "ERROR" , "CRITICAL" ] : log_level = self . _config . level . upper ( ) self . _log_level = log_level
Inspects config and sets the log level as instance attr. If not present
        in config, default is "INFO".