Mercurial > hg > svcore
diff data/osc/OSCQueue.cpp @ 1814:1318e069906b
Debug tweaks
author | Chris Cannam |
---|---|
date | Wed, 08 Jan 2020 15:26:49 +0000 |
parents | c077a97d055f |
children |
line wrap: on
line diff
--- a/data/osc/OSCQueue.cpp Wed Jan 08 15:26:37 2020 +0000 +++ b/data/osc/OSCQueue.cpp Wed Jan 08 15:26:49 2020 +0000 @@ -34,8 +34,8 @@ void OSCQueue::oscError(int num, const char *msg, const char *path) { - cerr << "ERROR: OSCQueue::oscError: liblo server error " << num - << " in path " << path << ": " << msg << endl; + SVCERR << "ERROR: OSCQueue::oscError: liblo server error " << num + << " in path " << path << ": " << msg << endl; } int @@ -175,8 +175,7 @@ OSCMessage *message = m_buffer.readOne(); OSCMessage rmessage = *message; delete message; - SVDEBUG << "OSCQueue::readMessage: In thread " - << QThread::currentThreadId() << ": message follows:\n" + SVDEBUG << "OSCQueue::readMessage[" << QThread::currentThreadId() << "]: " << rmessage.toString() << endl; return rmessage; }