# HG changeset patch # User Chris Cannam # Date 1578497209 0 # Node ID 1318e069906b0fea33d2bdd53a34481a098c6ba0 # Parent 7e958685449d21b4f1f4370f3fb07d0b8a844f40 Debug tweaks diff -r 7e958685449d -r 1318e069906b data/osc/OSCQueue.cpp --- 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; }