From 3fa1ee3c6b04d0793ccca3f903797625f7a08d03 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Sun, 30 Apr 2017 15:19:31 +0200 Subject: 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" --- events/roomaliasesevent.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'events/roomaliasesevent.cpp') 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 #include @@ -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; } -- cgit v1.2.3