diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-12-27 23:14:17 +0100 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-12-28 15:33:48 +0100 |
commit | 1b2b2ee36695d378a54753b7059acb4c063d7061 (patch) | |
tree | 5a636f4b6b1e68804eaaf3442f6024e34e09964e | |
parent | 4bdeacdd332865abf55b94af29f100842ab5d04f (diff) | |
download | libquotient-1b2b2ee36695d378a54753b7059acb4c063d7061.tar.gz libquotient-1b2b2ee36695d378a54753b7059acb4c063d7061.zip |
Add a new logging category for room member changes
MEMBERS, aka quotient.events.members.* - this was promised in ff020f3b
but not actually done "before merging".
-rw-r--r-- | lib/logging.cpp | 1 | ||||
-rw-r--r-- | lib/logging.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/logging.cpp b/lib/logging.cpp index c346fbf1..e6f8aa4b 100644 --- a/lib/logging.cpp +++ b/lib/logging.cpp @@ -24,6 +24,7 @@ LOGGING_CATEGORY(MAIN, "quotient.main") LOGGING_CATEGORY(EVENTS, "quotient.events") LOGGING_CATEGORY(STATE, "quotient.events.state") +LOGGING_CATEGORY(MEMBERS, "quotient.events.members") LOGGING_CATEGORY(MESSAGES, "quotient.events.messages") LOGGING_CATEGORY(EPHEMERAL, "quotient.events.ephemeral") LOGGING_CATEGORY(E2EE, "quotient.e2ee") diff --git a/lib/logging.h b/lib/logging.h index ce4131bb..05ca7988 100644 --- a/lib/logging.h +++ b/lib/logging.h @@ -23,6 +23,7 @@ Q_DECLARE_LOGGING_CATEGORY(MAIN) Q_DECLARE_LOGGING_CATEGORY(STATE) +Q_DECLARE_LOGGING_CATEGORY(MEMBERS) Q_DECLARE_LOGGING_CATEGORY(MESSAGES) Q_DECLARE_LOGGING_CATEGORY(EVENTS) Q_DECLARE_LOGGING_CATEGORY(EPHEMERAL) |