aboutsummaryrefslogtreecommitdiff
path: root/events/roommessageevent.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-05-13 15:10:07 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-05-13 15:10:07 +0900
commit63db311d5a64b9942dc69e1b13b4570a548554c0 (patch)
treeb996e4fc6533b93677986ade4e99cc718c3893c2 /events/roommessageevent.cpp
parentcff6aaafeee5c5f7d337c6001694bda119d3cba9 (diff)
downloadlibquotient-63db311d5a64b9942dc69e1b13b4570a548554c0.tar.gz
libquotient-63db311d5a64b9942dc69e1b13b4570a548554c0.zip
Refactored logging enhancements
logging.h/logging.cpp is now a full-fledged pair for all things logging. Two more categories added, EPHEMERAL and SYNCJOB, that control logging for ephemeral events and SyncJob, respectively (in particular, switching off EPHEMERAL greatly reduces the logspam about moving read markers and how many users have read up to which event).
Diffstat (limited to 'events/roommessageevent.cpp')
-rw-r--r--events/roommessageevent.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/events/roommessageevent.cpp b/events/roommessageevent.cpp
index fd6de464..677bb79f 100644
--- a/events/roommessageevent.cpp
+++ b/events/roommessageevent.cpp
@@ -17,10 +17,11 @@
*/
#include "roommessageevent.h"
+
+#include "logging.h"
#include "util.h"
#include <QtCore/QMimeDatabase>
-#include <QtCore/QDebug>
using namespace QMatrixClient;