diff options
author | Elvis Angelaccio <elvis.angelaccio@kde.org> | 2017-04-30 15:19:31 +0200 |
---|---|---|
committer | Elvis Angelaccio <elvis.angelaccio@kde.org> | 2017-04-30 15:21:05 +0200 |
commit | 3fa1ee3c6b04d0793ccca3f903797625f7a08d03 (patch) | |
tree | 1ee17f9016b0f333c08cf5d0eb0c8a8ab86a8573 /jobs/joinroomjob.cpp | |
parent | 9a13bbfd8a800712d0a2fcc4887c8d4115d06d4e (diff) | |
download | libquotient-3fa1ee3c6b04d0793ccca3f903797625f7a08d03.tar.gz libquotient-3fa1ee3c6b04d0793ccca3f903797625f7a08d03.zip |
Port to categorized logging
This greatly reduces the noise made by quaternion.
To enable full logging, export the following variable:
QT_LOGGING_RULES="libqmatrixclient.*.debug=true"
Diffstat (limited to 'jobs/joinroomjob.cpp')
-rw-r--r-- | jobs/joinroomjob.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jobs/joinroomjob.cpp b/jobs/joinroomjob.cpp index a6f65c31..dce1f54e 100644 --- a/jobs/joinroomjob.cpp +++ b/jobs/joinroomjob.cpp @@ -17,6 +17,7 @@ */ #include "joinroomjob.h" +#include "util.h" #include <QtNetwork/QNetworkReply> @@ -56,6 +57,6 @@ BaseJob::Status JoinRoomJob::parseJson(const QJsonDocument& data) return Success; } - qDebug() << data; + qCDebug(JOBS) << data; return { UserDefinedError, "No room_id in the JSON response" }; } |