changeset 1814:1318e069906b

Debug tweaks
author Chris Cannam
date Wed, 08 Jan 2020 15:26:49 +0000
parents 7e958685449d
children c546429d4c2f
files data/osc/OSCQueue.cpp
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
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;
 }