added Stream.Flush to FileLogger

This commit is contained in:
timerix 2022-09-26 22:17:21 +06:00
parent 6f3f951f8c
commit ce4d716a52

View File

@ -36,6 +36,7 @@ public class FileLogger : IDisposable
LogfileStream.Write(strb.ToString().ToBytes()); LogfileStream.Write(strb.ToString().ToBytes());
} }
LogfileStream.WriteByte('\n'.ToByte()); LogfileStream.WriteByte('\n'.ToByte());
LogfileStream.Flush();
} }
} }