#NEWLINE# def shouldFlush( self , record ) : #NEWLINE# #INDENT# '\n        Should the handler flush its buffer?\n\n        Returns true if the buffer is up to capacity. This method can be\n        overridden to implement custom flushing strategies.\n        ' #NEWLINE# return ( len ( self . buffer ) >= self . capacity )