Flush log.
This commit is contained in:
parent
a93c14ddc5
commit
eb777b9670
1 changed files with 2 additions and 0 deletions
|
|
@ -62,6 +62,8 @@ void Debugging::performLog(const char* message, QtMsgType type, const char* file
|
||||||
.arg(APP_LOW_NAME, message, mbstr, type_string,
|
.arg(APP_LOW_NAME, message, mbstr, type_string,
|
||||||
file, QString::number(line), function).toUtf8());
|
file, QString::number(line), function).toUtf8());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
instance()->targetFileHandle()->flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type == QtFatalMsg) {
|
if (type == QtFatalMsg) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue