def read(self):
        """ Read out recorded S3Log messages """

        strbuf = self.strbuf
        if strbuf is None:
            return ""
        handler = self.handler
        if handler is not None:
            handler.flush()
        return strbuf.getvalue()

    # -------------------------------------------------------------------------
dataset/ETHPy150Open sahana/eden/modules/s3log.py/S3LogRecorder.read/original