source/System/Log.cpp: make sure the writer is flushed after we write a line.
This commit is contained in:
parent
7b0cf72ac4
commit
813c0dab17
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue