mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 16:14:35 +02:00
put back timestamp in log
This commit is contained in:
parent
7177104d87
commit
86284036f1
1 changed files with 2 additions and 0 deletions
|
@ -119,6 +119,8 @@ QString LogHandler::printMessage(LogMsgType type, const QMessageLogContext& cont
|
||||||
char dateString[100];
|
char dateString[100];
|
||||||
strftime(dateString, sizeof(dateString), DATE_STRING_FORMAT, localTime);
|
strftime(dateString, sizeof(dateString), DATE_STRING_FORMAT, localTime);
|
||||||
|
|
||||||
|
prefixString.append(QString(" [%1]").arg(dateString));
|
||||||
|
|
||||||
if (_shouldOutputPID) {
|
if (_shouldOutputPID) {
|
||||||
prefixString.append(QString(" [%1").arg(getpid()));
|
prefixString.append(QString(" [%1").arg(getpid()));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue