(self, record)
return (len(self.buffer) >= self.capacity) or \
                (record.levelno >= self.flushLevel)
Check for buffer full or a record at the flushLevel or higher.
Check for buffer full or a record at the flushLevel or higher.
Check for buffer full or a record at the flushLevel or higher .
def shouldFlush(self, record):
        """
        Check for buffer full or a record at the flushLevel or higher.
        """
        return (len(self.buffer) >= self.capacity) or \
                (record.levelno >= self.flushLevel)
def shouldFlush ( self , record ) : return ( len ( self . buffer ) >= self . capacity ) or ( record . levelno >= self . flushLevel )