diff --git a/korman/exporter/logger.py b/korman/exporter/logger.py index f6dd6ab..83a45a5 100644 --- a/korman/exporter/logger.py +++ b/korman/exporter/logger.py @@ -57,6 +57,11 @@ class ExportLogger: sys.stdout = self._stdout sys.stderr = self._stderr + def flush(self): + self._file.flush() + self._stdout.flush() + self._stderr.flush() + def write(self, str): self._file.write(str) self._stdout.write(str)