Kjell Hedström 2015-11-03 13:35:47 -07:00
parent 17756a2657
commit 4b3c4d7ff7

View File

@ -51,7 +51,7 @@ namespace g3 {
// The actual log receiving function
void FileSink::fileWrite(LogMessageMover message) {
std::ofstream &out(filestream());
out << message.get().toString();
out << message.get().toString() << std::flush;
}
std::string FileSink::changeLogFile(const std::string &directory) {