mirror of
https://github.com/QuasarApp/QuasarAppLib.git
synced 2025-04-27 10:14:38 +00:00
fix log
This commit is contained in:
parent
ddf7656044
commit
0f9fbcf2f3
@ -123,7 +123,7 @@ bool Params::writeLoginFile(const QString &log, VerboseLvl vLvl) {
|
|||||||
if (logFile.open(QIODevice::WriteOnly | QIODevice::Append | QIODevice::Text)) {
|
if (logFile.open(QIODevice::WriteOnly | QIODevice::Append | QIODevice::Text)) {
|
||||||
|
|
||||||
QTextStream stream(&logFile);
|
QTextStream stream(&logFile);
|
||||||
stream << timeString() << lvlToString(vLvl) + ": " + log << endl;
|
stream << timeString() <<"| " << lvlToString(vLvl) + ": " + log << endl;
|
||||||
logFile.close();
|
logFile.close();
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user