def flush(self):
        if self.target:
            for record in self.buffer:
                self.target.handle(record)
            self.buffer = []
For a MemoryHandler, flushing means just sending the buffered
dataset/ETHPy150Open babble/babble/include/jython/Lib/logging/handlers.py/MemoryHandler.flush