diff options
Diffstat (limited to 'qdbd/echoexecutor.cpp')
-rw-r--r-- | qdbd/echoexecutor.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qdbd/echoexecutor.cpp b/qdbd/echoexecutor.cpp index 325df7c..b2024c2 100644 --- a/qdbd/echoexecutor.cpp +++ b/qdbd/echoexecutor.cpp @@ -23,6 +23,9 @@ #include "libqdb/stream.h" #include <QtCore/qdebug.h> +#include <QtCore/qloggingcategory.h> + +Q_LOGGING_CATEGORY(echoC, "qdb.executors.echo"); EchoExecutor::EchoExecutor(Stream *stream) : m_stream{stream} @@ -33,6 +36,6 @@ EchoExecutor::EchoExecutor(Stream *stream) void EchoExecutor::receive(StreamPacket packet) { - qDebug() << "EchoExecutor received:" << packet.buffer(); + qCDebug(echoC) << "EchoExecutor received:" << packet.buffer(); m_stream->write(packet); } |