parameters: (self, record)
return_statement: return (len(self.buffer) >= self.capacity) or \
                  (record.levelno >= self.flushLevel)
docstring: Check for buffer full or a record at the flushLevel or higher.
docstring_summary: Check for buffer full or a record at the flushLevel or higher.
docstring_tokens: Check for buffer full or a record at the flushLevel or higher .
function: 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)
function_tokens: def shouldFlush ( self , record ) : return ( len ( self . buffer ) >= self . capacity ) or ( record . levelno >= self . flushLevel )