fixes for the log file functionality
This commit is contained in:
parent
8b985be34b
commit
336d8ef39c
2 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@ void CServer::Stop()
|
||||||
|
|
||||||
// logging
|
// logging
|
||||||
const QString strLogStr = CLogTimeDate::toString() + ": server stopped "
|
const QString strLogStr = CLogTimeDate::toString() + ": server stopped "
|
||||||
"#####################################################";
|
"#############################################";
|
||||||
|
|
||||||
qDebug() << strLogStr; // on console
|
qDebug() << strLogStr; // on console
|
||||||
Logging << strLogStr; // in log file
|
Logging << strLogStr; // in log file
|
||||||
|
|
|
@ -469,7 +469,7 @@ public:
|
||||||
return QString().setNum ( curDateTime.date().day() ) + "." +
|
return QString().setNum ( curDateTime.date().day() ) + "." +
|
||||||
QString().setNum ( curDateTime.date().month() ) + "." +
|
QString().setNum ( curDateTime.date().month() ) + "." +
|
||||||
QString().setNum ( curDateTime.date().year() ) + " " +
|
QString().setNum ( curDateTime.date().year() ) + " " +
|
||||||
curDateTime.time().toString() + ": ";
|
curDateTime.time().toString();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue