def close(self):
        if self.file and not self.file.closed:
            self.file.close()
            self.file = None
close self.file if open except stdout
dataset/ETHPy150Open ioflo/ioflo/ioflo/base/logging.py/Log.close