(self, level)
Is this logger enabled for level 'level'?
Is this logger enabled for level 'level'?
Is this logger enabled for level level ?
def isEnabledFor(self, level):
        """
        Is this logger enabled for level 'level'?
        """
        if self.disabled:
            return False

        try:
            return self._cache[level]
        except KeyError:
            _acquireLock()
            try:
                if self.manager.disable >= level:
                    is_enabled = self._cache[level] = False
                else:
                    is_enabled = self._cache[level] = (
                        level >= self.getEffectiveLevel()
                    )
            finally:
                _releaseLock()
            return is_enabled
def isEnabledFor ( self , level ) : if self . disabled : return False try : return self . _cache [ level ] except KeyError : _acquireLock ( ) try : if self . manager . disable >= level : is_enabled = self . _cache [ level ] = False else : is_enabled = self . _cache [ level ] = ( level >= self . getEffectiveLevel ( ) ) finally : _releaseLock ( ) return is_enabled