3
0
Fork 0
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:
Stephen Birarda 2014-11-14 10:35:13 -08:00
parent 7177104d87
commit 86284036f1

View file

@ -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()));