def clear(self):

        if self.handler is not None:
            on = True
            self.stop()
        else:
            on = False
        strbuf = self.strbuf
        if strbuf is not None:
            strbuf.close()
            self.strbuf = None
        if on:
            self.listen()

# END =========================================================================
Clear the messages buffer
dataset/ETHPy150Open sahana/eden/modules/s3log.py/S3LogRecorder.clear