libQuotient
A Qt library for building matrix clients
logging_categories_p.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2017 Elvis Angelaccio <elvid.angelaccio@kde.org>
2 // SPDX-FileCopyrightText: 2017 Kitsune Ral <kitsune-ral@users.sf.net>
3 // SPDX-License-Identifier: LGPL-2.1-or-later
4 
5 #pragma once
6 
7 #include <QtCore/QLoggingCategory>
8 
9 #define QUO_LOGGING_CATEGORY(Name, Id)
10  inline Q_LOGGING_CATEGORY((Name), (Id), QtInfoMsg)
11 
12 namespace Quotient {
13 
14 QUO_LOGGING_CATEGORY(MAIN, "quotient.main")
15 QUO_LOGGING_CATEGORY(EVENTS, "quotient.events")
16 QUO_LOGGING_CATEGORY(STATE, "quotient.events.state")
17 QUO_LOGGING_CATEGORY(MEMBERS, "quotient.events.members")
18 QUO_LOGGING_CATEGORY(MESSAGES, "quotient.events.messages")
19 QUO_LOGGING_CATEGORY(EPHEMERAL, "quotient.events.ephemeral")
20 QUO_LOGGING_CATEGORY(E2EE, "quotient.e2ee")
21 QUO_LOGGING_CATEGORY(JOBS, "quotient.jobs")
22 QUO_LOGGING_CATEGORY(SYNCJOB, "quotient.jobs.sync")
23 QUO_LOGGING_CATEGORY(THUMBNAILJOB, "quotient.jobs.thumbnail")
24 QUO_LOGGING_CATEGORY(NETWORK, "quotient.network")
25 QUO_LOGGING_CATEGORY(PROFILER, "quotient.profiler")
26 QUO_LOGGING_CATEGORY(DATABASE, "quotient.database")
27 
28 } // namespace Quotient