aboutsummaryrefslogtreecommitdiff
path: root/events/roomaliasesevent.cpp
diff options
context:
space:
mode:
authorElvis Angelaccio <elvis.angelaccio@kde.org>2017-04-30 15:19:31 +0200
committerElvis Angelaccio <elvis.angelaccio@kde.org>2017-04-30 15:21:05 +0200
commit3fa1ee3c6b04d0793ccca3f903797625f7a08d03 (patch)
tree1ee17f9016b0f333c08cf5d0eb0c8a8ab86a8573 /events/roomaliasesevent.cpp
parent9a13bbfd8a800712d0a2fcc4887c8d4115d06d4e (diff)
downloadlibquotient-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 'events/roomaliasesevent.cpp')
-rw-r--r--events/roomaliasesevent.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/events/roomaliasesevent.cpp b/events/roomaliasesevent.cpp
index 9c64e40c..e0dbdb38 100644
--- a/events/roomaliasesevent.cpp
+++ b/events/roomaliasesevent.cpp
@@ -33,6 +33,7 @@
// }
#include "roomaliasesevent.h"
+#include "util.h"
#include <QtCore/QJsonArray>
#include <QtCore/QDebug>
@@ -71,6 +72,6 @@ RoomAliasesEvent* RoomAliasesEvent::fromJson(const QJsonObject& obj)
{
e->d->aliases << alias.toString();
}
- qDebug() << "RoomAliasesEvent:" << e->d->aliases;
+ qCDebug(EVENTS) << "RoomAliasesEvent:" << e->d->aliases;
return e;
}