1
0
Fork 0

source/System/Log.cpp: make sure the writer is flushed after we write a line.

This commit is contained in:
Henrik Hautakoski 2023-08-20 21:07:13 +02:00
parent 7b0cf72ac4
commit 813c0dab17

View file

@ -85,6 +85,7 @@ void Log::writeln(Type type, const char *format, va_list args)
len = sprintf(buf, "%s: %s\n", prefix, msg);
_writer->write(buf, len);
_writer->flush();
}
} // namespace sp