mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
extra server logging, server memory leak fixed, m12
This commit is contained in:
parent
380a8b2d41
commit
c8813bb2aa
6 changed files with 27 additions and 13 deletions
|
|
@ -39,7 +39,7 @@ void ServerLogger::logMessage(QString message, ServerSocketInterface *ssi)
|
|||
bufferMutex.lock();
|
||||
QString ssiString;
|
||||
if (ssi)
|
||||
ssiString = QString::number((qulonglong) ssi) + " ";
|
||||
ssiString = QString::number((qulonglong) ssi, 16) + " ";
|
||||
buffer.append(QDateTime::currentDateTime().toString() + " " + QString::number((qulonglong) QThread::currentThread(), 16) + " " + ssiString + message);
|
||||
bufferMutex.unlock();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue