diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-22 18:22:39 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-22 18:22:39 +0100 |
commit | b2ad8f785e801a35cadf254d827f56d648be510c (patch) | |
tree | 4eeb1e3eefb02c40dac40469c0fae5ad91feb3e3 /common/synchronizer.h | |
parent | 1fe8664ec74165fc3f250098609ea0e049e3adc8 (diff) | |
download | sink-b2ad8f785e801a35cadf254d827f56d648be510c.tar.gz sink-b2ad8f785e801a35cadf254d827f56d648be510c.zip |
Introduced Log::Context
To have hierarchical debug output we have to pass around something at
run-time, there is no reasonable alternative. Log::Context provides the
identifier to do just that and largely replaces the debug component
idea.
Diffstat (limited to 'common/synchronizer.h')
-rw-r--r-- | common/synchronizer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/synchronizer.h b/common/synchronizer.h index 00b5fba..2c56d6a 100644 --- a/common/synchronizer.h +++ b/common/synchronizer.h | |||
@@ -170,6 +170,7 @@ private: | |||
170 | void modifyIfChanged(Storage::EntityStore &store, const QByteArray &bufferType, const QByteArray &sinkId, const Sink::ApplicationDomain::ApplicationDomainType &entity); | 170 | void modifyIfChanged(Storage::EntityStore &store, const QByteArray &bufferType, const QByteArray &sinkId, const Sink::ApplicationDomain::ApplicationDomainType &entity); |
171 | KAsync::Job<void> processSyncQueue(); | 171 | KAsync::Job<void> processSyncQueue(); |
172 | 172 | ||
173 | Sink::Log::Context mLogCtx; | ||
173 | Sink::ResourceContext mResourceContext; | 174 | Sink::ResourceContext mResourceContext; |
174 | Sink::Storage::EntityStore::Ptr mEntityStore; | 175 | Sink::Storage::EntityStore::Ptr mEntityStore; |
175 | QSharedPointer<SynchronizerStore> mSyncStore; | 176 | QSharedPointer<SynchronizerStore> mSyncStore; |