def shouldFlush(self, record):
        return (len(self.buffer) >= self.capacity)
Should the handler flush its buffer?
dataset/ETHPy150Open babble/babble/include/jython/Lib/logging/handlers.py/BufferingHandler.shouldFlush