diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-12 08:20:43 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-12 08:33:57 +0200 |
commit | 41f8f9bc05c059cafa780ac8aec27a56cba2c278 (patch) | |
tree | a53ac218ebc075c1fa1e5a31f011855ba815638d | |
parent | 380ecbf2866a322de01b28e90dafc1a24e4d948c (diff) | |
download | sink-41f8f9bc05c059cafa780ac8aec27a56cba2c278.tar.gz sink-41f8f9bc05c059cafa780ac8aec27a56cba2c278.zip |
No more SINK_DEBUG_AREA
33 files changed, 0 insertions, 64 deletions
diff --git a/common/configstore.cpp b/common/configstore.cpp index 1ae9da8..6751907 100644 --- a/common/configstore.cpp +++ b/common/configstore.cpp | |||
@@ -24,8 +24,6 @@ | |||
24 | #include <log.h> | 24 | #include <log.h> |
25 | #include <definitions.h> | 25 | #include <definitions.h> |
26 | 26 | ||
27 | SINK_DEBUG_AREA("configstore") | ||
28 | |||
29 | static QSharedPointer<QSettings> getConfig(const QByteArray &identifier) | 27 | static QSharedPointer<QSettings> getConfig(const QByteArray &identifier) |
30 | { | 28 | { |
31 | return QSharedPointer<QSettings>::create(Sink::configLocation() + "/" + identifier + ".ini", QSettings::IniFormat); | 29 | return QSharedPointer<QSettings>::create(Sink::configLocation() + "/" + identifier + ".ini", QSettings::IniFormat); |
diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp index 67d463f..7ce80ee 100644 --- a/common/domain/applicationdomaintype.cpp +++ b/common/domain/applicationdomaintype.cpp | |||
@@ -25,8 +25,6 @@ | |||
25 | #include "storage.h" //for generateUid() | 25 | #include "storage.h" //for generateUid() |
26 | #include <QFile> | 26 | #include <QFile> |
27 | 27 | ||
28 | SINK_DEBUG_AREA("applicationdomaintype"); | ||
29 | |||
30 | QDebug Sink::ApplicationDomain::operator<< (QDebug d, const Sink::ApplicationDomain::Mail::Contact &c) | 28 | QDebug Sink::ApplicationDomain::operator<< (QDebug d, const Sink::ApplicationDomain::Mail::Contact &c) |
31 | { | 29 | { |
32 | d << "Contact(" << c.name << ", " << c.emailAddress << ")"; | 30 | d << "Contact(" << c.name << ", " << c.emailAddress << ")"; |
diff --git a/common/domainadaptor.h b/common/domainadaptor.h index c38b713..f981a1f 100644 --- a/common/domainadaptor.h +++ b/common/domainadaptor.h | |||
@@ -120,7 +120,6 @@ private: | |||
120 | */ | 120 | */ |
121 | class DatastoreBufferAdaptor : public Sink::ApplicationDomain::BufferAdaptor | 121 | class DatastoreBufferAdaptor : public Sink::ApplicationDomain::BufferAdaptor |
122 | { | 122 | { |
123 | SINK_DEBUG_AREA("bufferadaptor") | ||
124 | public: | 123 | public: |
125 | DatastoreBufferAdaptor() : BufferAdaptor() | 124 | DatastoreBufferAdaptor() : BufferAdaptor() |
126 | { | 125 | { |
diff --git a/common/facade.h b/common/facade.h index 45c718b..0ec2e59 100644 --- a/common/facade.h +++ b/common/facade.h | |||
@@ -48,7 +48,6 @@ template <typename DomainType> | |||
48 | class SINK_EXPORT GenericFacade : public Sink::StoreFacade<DomainType> | 48 | class SINK_EXPORT GenericFacade : public Sink::StoreFacade<DomainType> |
49 | { | 49 | { |
50 | protected: | 50 | protected: |
51 | SINK_DEBUG_AREA("facade") | ||
52 | SINK_DEBUG_COMPONENT(mResourceContext.resourceInstanceIdentifier) | 51 | SINK_DEBUG_COMPONENT(mResourceContext.resourceInstanceIdentifier) |
53 | public: | 52 | public: |
54 | /** | 53 | /** |
diff --git a/common/genericresource.h b/common/genericresource.h index 558145c..bffc697 100644 --- a/common/genericresource.h +++ b/common/genericresource.h | |||
@@ -35,8 +35,6 @@ class CommandProcessor; | |||
35 | */ | 35 | */ |
36 | class SINK_EXPORT GenericResource : public Resource | 36 | class SINK_EXPORT GenericResource : public Resource |
37 | { | 37 | { |
38 | protected: | ||
39 | SINK_DEBUG_AREA("resource") | ||
40 | public: | 38 | public: |
41 | GenericResource(const Sink::ResourceContext &context, const QSharedPointer<Pipeline> &pipeline = QSharedPointer<Pipeline>()); | 39 | GenericResource(const Sink::ResourceContext &context, const QSharedPointer<Pipeline> &pipeline = QSharedPointer<Pipeline>()); |
42 | virtual ~GenericResource(); | 40 | virtual ~GenericResource(); |
diff --git a/common/listener.h b/common/listener.h index 8d8b529..f29130d 100644 --- a/common/listener.h +++ b/common/listener.h | |||
@@ -55,8 +55,6 @@ public: | |||
55 | class SINK_EXPORT Listener : public QObject | 55 | class SINK_EXPORT Listener : public QObject |
56 | { | 56 | { |
57 | Q_OBJECT | 57 | Q_OBJECT |
58 | SINK_DEBUG_AREA("communication") | ||
59 | |||
60 | public: | 58 | public: |
61 | Listener(const QByteArray &resourceName, const QByteArray &resourceType, QObject *parent = 0); | 59 | Listener(const QByteArray &resourceName, const QByteArray &resourceType, QObject *parent = 0); |
62 | ~Listener(); | 60 | ~Listener(); |
diff --git a/common/mail/threadindexer.cpp b/common/mail/threadindexer.cpp index af96b94..473f28e 100644 --- a/common/mail/threadindexer.cpp +++ b/common/mail/threadindexer.cpp | |||
@@ -21,8 +21,6 @@ | |||
21 | #include "typeindex.h" | 21 | #include "typeindex.h" |
22 | #include "log.h" | 22 | #include "log.h" |
23 | 23 | ||
24 | SINK_DEBUG_AREA("threadindex") | ||
25 | |||
26 | using namespace Sink; | 24 | using namespace Sink; |
27 | using namespace Sink::ApplicationDomain; | 25 | using namespace Sink::ApplicationDomain; |
28 | 26 | ||
diff --git a/common/mailpreprocessor.cpp b/common/mailpreprocessor.cpp index dff3b3d..5c54fbc 100644 --- a/common/mailpreprocessor.cpp +++ b/common/mailpreprocessor.cpp | |||
@@ -29,8 +29,6 @@ | |||
29 | 29 | ||
30 | using namespace Sink; | 30 | using namespace Sink; |
31 | 31 | ||
32 | SINK_DEBUG_AREA("mailpreprocessor") | ||
33 | |||
34 | QString MailPropertyExtractor::getFilePathFromMimeMessagePath(const QString &s) const | 32 | QString MailPropertyExtractor::getFilePathFromMimeMessagePath(const QString &s) const |
35 | { | 33 | { |
36 | return s; | 34 | return s; |
diff --git a/common/messagequeue.cpp b/common/messagequeue.cpp index 6e79d89..362ddfd 100644 --- a/common/messagequeue.cpp +++ b/common/messagequeue.cpp | |||
@@ -3,8 +3,6 @@ | |||
3 | #include <QDebug> | 3 | #include <QDebug> |
4 | #include <log.h> | 4 | #include <log.h> |
5 | 5 | ||
6 | SINK_DEBUG_AREA("messagequeue") | ||
7 | |||
8 | MessageQueue::MessageQueue(const QString &storageRoot, const QString &name) : mStorage(storageRoot, name, Sink::Storage::DataStore::ReadWrite) | 6 | MessageQueue::MessageQueue(const QString &storageRoot, const QString &name) : mStorage(storageRoot, name, Sink::Storage::DataStore::ReadWrite) |
9 | { | 7 | { |
10 | } | 8 | } |
diff --git a/common/queryrunner.h b/common/queryrunner.h index 5308eac..11a302f 100644 --- a/common/queryrunner.h +++ b/common/queryrunner.h | |||
@@ -32,8 +32,6 @@ | |||
32 | class QueryRunnerBase : public QObject | 32 | class QueryRunnerBase : public QObject |
33 | { | 33 | { |
34 | Q_OBJECT | 34 | Q_OBJECT |
35 | protected: | ||
36 | SINK_DEBUG_AREA("queryrunner") | ||
37 | public: | 35 | public: |
38 | typedef std::function<void(Sink::ApplicationDomain::ApplicationDomainType &domainObject)> ResultTransformation; | 36 | typedef std::function<void(Sink::ApplicationDomain::ApplicationDomainType &domainObject)> ResultTransformation; |
39 | 37 | ||
diff --git a/common/resourceaccess.h b/common/resourceaccess.h index c32566b..b6a0b34 100644 --- a/common/resourceaccess.h +++ b/common/resourceaccess.h | |||
@@ -101,7 +101,6 @@ protected: | |||
101 | class SINK_EXPORT ResourceAccess : public ResourceAccessInterface | 101 | class SINK_EXPORT ResourceAccess : public ResourceAccessInterface |
102 | { | 102 | { |
103 | Q_OBJECT | 103 | Q_OBJECT |
104 | SINK_DEBUG_AREA("communication") | ||
105 | public: | 104 | public: |
106 | typedef QSharedPointer<ResourceAccess> Ptr; | 105 | typedef QSharedPointer<ResourceAccess> Ptr; |
107 | 106 | ||
@@ -158,7 +157,6 @@ private: | |||
158 | */ | 157 | */ |
159 | class SINK_EXPORT ResourceAccessFactory | 158 | class SINK_EXPORT ResourceAccessFactory |
160 | { | 159 | { |
161 | SINK_DEBUG_AREA("ResourceAccessFactory") | ||
162 | public: | 160 | public: |
163 | static ResourceAccessFactory &instance(); | 161 | static ResourceAccessFactory &instance(); |
164 | Sink::ResourceAccess::Ptr getAccess(const QByteArray &instanceIdentifier, const QByteArray resourceType); | 162 | Sink::ResourceAccess::Ptr getAccess(const QByteArray &instanceIdentifier, const QByteArray resourceType); |
diff --git a/common/resourcecontrol.cpp b/common/resourcecontrol.cpp index 70a3f7d..b6a4c0b 100644 --- a/common/resourcecontrol.cpp +++ b/common/resourcecontrol.cpp | |||
@@ -30,8 +30,6 @@ | |||
30 | #include "log.h" | 30 | #include "log.h" |
31 | #include "notifier.h" | 31 | #include "notifier.h" |
32 | 32 | ||
33 | SINK_DEBUG_AREA("resourcecontrol") | ||
34 | |||
35 | namespace Sink { | 33 | namespace Sink { |
36 | 34 | ||
37 | KAsync::Job<void> ResourceControl::shutdown(const QByteArray &identifier) | 35 | KAsync::Job<void> ResourceControl::shutdown(const QByteArray &identifier) |
diff --git a/common/resourcefacade.cpp b/common/resourcefacade.cpp index 0cf9df2..e6f98a9 100644 --- a/common/resourcefacade.cpp +++ b/common/resourcefacade.cpp | |||
@@ -27,8 +27,6 @@ | |||
27 | 27 | ||
28 | using namespace Sink; | 28 | using namespace Sink; |
29 | 29 | ||
30 | SINK_DEBUG_AREA("ResourceFacade") | ||
31 | |||
32 | template<typename DomainType> | 30 | template<typename DomainType> |
33 | ConfigNotifier LocalStorageFacade<DomainType>::sConfigNotifier; | 31 | ConfigNotifier LocalStorageFacade<DomainType>::sConfigNotifier; |
34 | 32 | ||
diff --git a/common/specialpurposepreprocessor.cpp b/common/specialpurposepreprocessor.cpp index 25a6d1a..54f7f46 100644 --- a/common/specialpurposepreprocessor.cpp +++ b/common/specialpurposepreprocessor.cpp | |||
@@ -5,8 +5,6 @@ | |||
5 | 5 | ||
6 | using namespace Sink; | 6 | using namespace Sink; |
7 | 7 | ||
8 | SINK_DEBUG_AREA("SpecialPurposeProcessor") | ||
9 | |||
10 | static QHash<QByteArray, QString> specialPurposeFolders() | 8 | static QHash<QByteArray, QString> specialPurposeFolders() |
11 | { | 9 | { |
12 | QHash<QByteArray, QString> hash; | 10 | QHash<QByteArray, QString> hash; |
diff --git a/common/storage_common.cpp b/common/storage_common.cpp index dfcfc2a..1426cd5 100644 --- a/common/storage_common.cpp +++ b/common/storage_common.cpp | |||
@@ -24,8 +24,6 @@ | |||
24 | #include "log.h" | 24 | #include "log.h" |
25 | #include <QUuid> | 25 | #include <QUuid> |
26 | 26 | ||
27 | SINK_DEBUG_AREA("storage") | ||
28 | |||
29 | QDebug& operator<<(QDebug &dbg, const Sink::Storage::DataStore::Error &error) | 27 | QDebug& operator<<(QDebug &dbg, const Sink::Storage::DataStore::Error &error) |
30 | { | 28 | { |
31 | dbg << error.message << "Code: " << error.code << "Db: " << error.store; | 29 | dbg << error.message << "Code: " << error.code << "Db: " << error.store; |
diff --git a/common/store.cpp b/common/store.cpp index 0eefe69..4735113 100644 --- a/common/store.cpp +++ b/common/store.cpp | |||
@@ -36,8 +36,6 @@ | |||
36 | #include "storage.h" | 36 | #include "storage.h" |
37 | #include "log.h" | 37 | #include "log.h" |
38 | 38 | ||
39 | SINK_DEBUG_AREA("store") | ||
40 | |||
41 | Q_DECLARE_METATYPE(QSharedPointer<Sink::ResultEmitter<Sink::ApplicationDomain::SinkResource::Ptr>>) | 39 | Q_DECLARE_METATYPE(QSharedPointer<Sink::ResultEmitter<Sink::ApplicationDomain::SinkResource::Ptr>>) |
42 | Q_DECLARE_METATYPE(QSharedPointer<Sink::ResourceAccessInterface>); | 40 | Q_DECLARE_METATYPE(QSharedPointer<Sink::ResourceAccessInterface>); |
43 | Q_DECLARE_METATYPE(std::shared_ptr<void>); | 41 | Q_DECLARE_METATYPE(std::shared_ptr<void>); |
diff --git a/common/synchronizerstore.cpp b/common/synchronizerstore.cpp index 5364094..79cd920 100644 --- a/common/synchronizerstore.cpp +++ b/common/synchronizerstore.cpp | |||
@@ -25,8 +25,6 @@ | |||
25 | 25 | ||
26 | using namespace Sink; | 26 | using namespace Sink; |
27 | 27 | ||
28 | SINK_DEBUG_AREA("synchronizerstore") | ||
29 | |||
30 | SynchronizerStore::SynchronizerStore(Sink::Storage::DataStore::Transaction &transaction) | 28 | SynchronizerStore::SynchronizerStore(Sink::Storage::DataStore::Transaction &transaction) |
31 | : mTransaction(transaction) | 29 | : mTransaction(transaction) |
32 | { | 30 | { |
diff --git a/common/test.cpp b/common/test.cpp index 90586ba..f9bfa23 100644 --- a/common/test.cpp +++ b/common/test.cpp | |||
@@ -29,8 +29,6 @@ | |||
29 | #include "resourceconfig.h" | 29 | #include "resourceconfig.h" |
30 | #include "definitions.h" | 30 | #include "definitions.h" |
31 | 31 | ||
32 | SINK_DEBUG_AREA("test") | ||
33 | |||
34 | using namespace Sink; | 32 | using namespace Sink; |
35 | 33 | ||
36 | void Sink::Test::initTest() | 34 | void Sink::Test::initTest() |
diff --git a/common/typeindex.cpp b/common/typeindex.cpp index 153aa43..3e66ffe 100644 --- a/common/typeindex.cpp +++ b/common/typeindex.cpp | |||
@@ -22,8 +22,6 @@ | |||
22 | #include "index.h" | 22 | #include "index.h" |
23 | #include <QDateTime> | 23 | #include <QDateTime> |
24 | 24 | ||
25 | SINK_DEBUG_AREA("typeindex") | ||
26 | |||
27 | using namespace Sink; | 25 | using namespace Sink; |
28 | 26 | ||
29 | static QByteArray getByteArray(const QVariant &value) | 27 | static QByteArray getByteArray(const QVariant &value) |
diff --git a/examples/davresource/davresource.cpp b/examples/davresource/davresource.cpp index 50471ed..6631148 100644 --- a/examples/davresource/davresource.cpp +++ b/examples/davresource/davresource.cpp | |||
@@ -42,8 +42,6 @@ | |||
42 | #define ENTITY_TYPE_CONTACT "contact" | 42 | #define ENTITY_TYPE_CONTACT "contact" |
43 | #define ENTITY_TYPE_ADDRESSBOOK "addressbook" | 43 | #define ENTITY_TYPE_ADDRESSBOOK "addressbook" |
44 | 44 | ||
45 | SINK_DEBUG_AREA("davresource") | ||
46 | |||
47 | using namespace Sink; | 45 | using namespace Sink; |
48 | 46 | ||
49 | static KAsync::Job<void> runJob(KJob *job) | 47 | static KAsync::Job<void> runJob(KJob *job) |
diff --git a/examples/dummyresource/resourcefactory.cpp b/examples/dummyresource/resourcefactory.cpp index c1f536e..dffdfc9 100644 --- a/examples/dummyresource/resourcefactory.cpp +++ b/examples/dummyresource/resourcefactory.cpp | |||
@@ -42,8 +42,6 @@ | |||
42 | #define ENTITY_TYPE_MAIL "mail" | 42 | #define ENTITY_TYPE_MAIL "mail" |
43 | #define ENTITY_TYPE_FOLDER "folder" | 43 | #define ENTITY_TYPE_FOLDER "folder" |
44 | 44 | ||
45 | SINK_DEBUG_AREA("dummyresource") | ||
46 | |||
47 | using namespace Sink; | 45 | using namespace Sink; |
48 | 46 | ||
49 | class DummySynchronizer : public Sink::Synchronizer { | 47 | class DummySynchronizer : public Sink::Synchronizer { |
diff --git a/examples/imapresource/imapresource.cpp b/examples/imapresource/imapresource.cpp index 90383e0..94ca27a 100644 --- a/examples/imapresource/imapresource.cpp +++ b/examples/imapresource/imapresource.cpp | |||
@@ -46,8 +46,6 @@ | |||
46 | #define ENTITY_TYPE_MAIL "mail" | 46 | #define ENTITY_TYPE_MAIL "mail" |
47 | #define ENTITY_TYPE_FOLDER "folder" | 47 | #define ENTITY_TYPE_FOLDER "folder" |
48 | 48 | ||
49 | SINK_DEBUG_AREA("imapresource") | ||
50 | |||
51 | Q_DECLARE_METATYPE(QSharedPointer<Imap::ImapServerProxy>) | 49 | Q_DECLARE_METATYPE(QSharedPointer<Imap::ImapServerProxy>) |
52 | 50 | ||
53 | using namespace Imap; | 51 | using namespace Imap; |
diff --git a/examples/imapresource/imapserverproxy.cpp b/examples/imapresource/imapserverproxy.cpp index 7fa0b5a..a52c5eb 100644 --- a/examples/imapresource/imapserverproxy.cpp +++ b/examples/imapresource/imapserverproxy.cpp | |||
@@ -37,8 +37,6 @@ | |||
37 | #include "log.h" | 37 | #include "log.h" |
38 | #include "test.h" | 38 | #include "test.h" |
39 | 39 | ||
40 | SINK_DEBUG_AREA("imapserverproxy") | ||
41 | |||
42 | using namespace Imap; | 40 | using namespace Imap; |
43 | 41 | ||
44 | const char* Imap::Flags::Seen = "\\Seen"; | 42 | const char* Imap::Flags::Seen = "\\Seen"; |
diff --git a/examples/imapresource/tests/imapmailsyncbenchmark.cpp b/examples/imapresource/tests/imapmailsyncbenchmark.cpp index a53c148..814e325 100644 --- a/examples/imapresource/tests/imapmailsyncbenchmark.cpp +++ b/examples/imapresource/tests/imapmailsyncbenchmark.cpp | |||
@@ -31,8 +31,6 @@ | |||
31 | using namespace Sink; | 31 | using namespace Sink; |
32 | using namespace Sink::ApplicationDomain; | 32 | using namespace Sink::ApplicationDomain; |
33 | 33 | ||
34 | SINK_DEBUG_AREA("ImapMailSyncBenchmark") | ||
35 | |||
36 | /** | 34 | /** |
37 | * Test of complete system using the imap resource. | 35 | * Test of complete system using the imap resource. |
38 | * | 36 | * |
diff --git a/examples/imapresource/tests/imapserverproxytest.cpp b/examples/imapresource/tests/imapserverproxytest.cpp index 476066d..271b3d9 100644 --- a/examples/imapresource/tests/imapserverproxytest.cpp +++ b/examples/imapresource/tests/imapserverproxytest.cpp | |||
@@ -12,8 +12,6 @@ | |||
12 | 12 | ||
13 | using namespace Imap; | 13 | using namespace Imap; |
14 | 14 | ||
15 | // SINK_DEBUG_AREA("imapserverproxytest") | ||
16 | |||
17 | /** | 15 | /** |
18 | */ | 16 | */ |
19 | class ImapServerProxyTest : public QObject | 17 | class ImapServerProxyTest : public QObject |
diff --git a/examples/maildirresource/maildirresource.cpp b/examples/maildirresource/maildirresource.cpp index 24681b5..b406f63 100644 --- a/examples/maildirresource/maildirresource.cpp +++ b/examples/maildirresource/maildirresource.cpp | |||
@@ -43,8 +43,6 @@ | |||
43 | #define ENTITY_TYPE_MAIL "mail" | 43 | #define ENTITY_TYPE_MAIL "mail" |
44 | #define ENTITY_TYPE_FOLDER "folder" | 44 | #define ENTITY_TYPE_FOLDER "folder" |
45 | 45 | ||
46 | SINK_DEBUG_AREA("maildirresource") | ||
47 | |||
48 | using namespace Sink; | 46 | using namespace Sink; |
49 | 47 | ||
50 | static QString getFilePathFromMimeMessagePath(const QString &mimeMessagePath) | 48 | static QString getFilePathFromMimeMessagePath(const QString &mimeMessagePath) |
diff --git a/examples/mailtransportresource/mailtransport.cpp b/examples/mailtransportresource/mailtransport.cpp index 84c1556..afe0257 100644 --- a/examples/mailtransportresource/mailtransport.cpp +++ b/examples/mailtransportresource/mailtransport.cpp | |||
@@ -23,8 +23,6 @@ | |||
23 | #include <QDebug> | 23 | #include <QDebug> |
24 | #include <common/log.h> | 24 | #include <common/log.h> |
25 | 25 | ||
26 | SINK_DEBUG_AREA("mailtransport") | ||
27 | |||
28 | extern "C" { | 26 | extern "C" { |
29 | 27 | ||
30 | #include <stdio.h> | 28 | #include <stdio.h> |
diff --git a/examples/mailtransportresource/mailtransportresource.cpp b/examples/mailtransportresource/mailtransportresource.cpp index c73219f..3d6f8e4 100644 --- a/examples/mailtransportresource/mailtransportresource.cpp +++ b/examples/mailtransportresource/mailtransportresource.cpp | |||
@@ -39,8 +39,6 @@ | |||
39 | 39 | ||
40 | #define ENTITY_TYPE_MAIL "mail" | 40 | #define ENTITY_TYPE_MAIL "mail" |
41 | 41 | ||
42 | SINK_DEBUG_AREA("mailtransportresource") | ||
43 | |||
44 | using namespace Sink; | 42 | using namespace Sink; |
45 | 43 | ||
46 | class MailtransportPreprocessor : public Sink::Preprocessor | 44 | class MailtransportPreprocessor : public Sink::Preprocessor |
diff --git a/sinksh/state.cpp b/sinksh/state.cpp index 8f4a675..7e04d28 100644 --- a/sinksh/state.cpp +++ b/sinksh/state.cpp | |||
@@ -26,8 +26,6 @@ | |||
26 | 26 | ||
27 | #include "common/log.h" | 27 | #include "common/log.h" |
28 | 28 | ||
29 | SINK_DEBUG_AREA("state") | ||
30 | |||
31 | static bool s_hasEventLoop = false; | 29 | static bool s_hasEventLoop = false; |
32 | 30 | ||
33 | class State::Private | 31 | class State::Private |
diff --git a/synchronizer/main.cpp b/synchronizer/main.cpp index c66a2fb..3c41c67 100644 --- a/synchronizer/main.cpp +++ b/synchronizer/main.cpp | |||
@@ -39,8 +39,6 @@ | |||
39 | #include "test.h" | 39 | #include "test.h" |
40 | #include "definitions.h" | 40 | #include "definitions.h" |
41 | 41 | ||
42 | SINK_DEBUG_AREA("main") | ||
43 | |||
44 | static Listener *listener = nullptr; | 42 | static Listener *listener = nullptr; |
45 | 43 | ||
46 | //Print a demangled stacktrace | 44 | //Print a demangled stacktrace |
diff --git a/tests/mailsynctest.cpp b/tests/mailsynctest.cpp index c8ba9f1..5d51fbc 100644 --- a/tests/mailsynctest.cpp +++ b/tests/mailsynctest.cpp | |||
@@ -33,8 +33,6 @@ | |||
33 | using namespace Sink; | 33 | using namespace Sink; |
34 | using namespace Sink::ApplicationDomain; | 34 | using namespace Sink::ApplicationDomain; |
35 | 35 | ||
36 | SINK_DEBUG_AREA("mailsynctest") | ||
37 | |||
38 | void MailSyncTest::initTestCase() | 36 | void MailSyncTest::initTestCase() |
39 | { | 37 | { |
40 | Test::initTest(); | 38 | Test::initTest(); |
diff --git a/tests/mailtest.cpp b/tests/mailtest.cpp index c51fc56..e1361e4 100644 --- a/tests/mailtest.cpp +++ b/tests/mailtest.cpp | |||
@@ -31,8 +31,6 @@ | |||
31 | using namespace Sink; | 31 | using namespace Sink; |
32 | using namespace Sink::ApplicationDomain; | 32 | using namespace Sink::ApplicationDomain; |
33 | 33 | ||
34 | SINK_DEBUG_AREA("mailtest") | ||
35 | |||
36 | void MailTest::initTestCase() | 34 | void MailTest::initTestCase() |
37 | { | 35 | { |
38 | Test::initTest(); | 36 | Test::initTest(); |
diff --git a/tests/messagequeuetest.cpp b/tests/messagequeuetest.cpp index 83fa23f..2e3bd75 100644 --- a/tests/messagequeuetest.cpp +++ b/tests/messagequeuetest.cpp | |||
@@ -9,8 +9,6 @@ | |||
9 | #include "log.h" | 9 | #include "log.h" |
10 | #include "test.h" | 10 | #include "test.h" |
11 | 11 | ||
12 | SINK_DEBUG_AREA("messagequeuetest") | ||
13 | |||
14 | /** | 12 | /** |
15 | * Test of the messagequeue implementation. | 13 | * Test of the messagequeue implementation. |
16 | */ | 14 | */ |