def flush(self):
        if self.file and not self.file.closed:
            self.file.flush()
            os.fsync(self.file.fileno())
Write the contents of this file to a
dataset/ETHPy150Open ioflo/ioflo/ioflo/base/logging.py/Log.flush--crossover with--dataset/ETHPy150Open mongodb/motor/motor/motor_gridfs.py/AgnosticGridOut.stream_to_handler