mirror of
https://github.com/lubosz/overte.git
synced 2025-04-27 16:35:28 +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];
|
||||
strftime(dateString, sizeof(dateString), DATE_STRING_FORMAT, localTime);
|
||||
|
||||
prefixString.append(QString(" [%1]").arg(dateString));
|
||||
|
||||
if (_shouldOutputPID) {
|
||||
prefixString.append(QString(" [%1").arg(getpid()));
|
||||
|
||||
|
|
Loading…
Reference in a new issue