From bb529848d4f7037ca92707b4dedbf40ae9c3d673 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 12 Jan 2017 10:46:11 +0100 Subject: Debug output --- common/store.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/store.cpp b/common/store.cpp index 7797274..c11e1e8 100644 --- a/common/store.cpp +++ b/common/store.cpp @@ -200,7 +200,7 @@ KAsync::Job Store::move(const DomainType &domainObject, const QByteArray & template KAsync::Job Store::copy(const DomainType &domainObject, const QByteArray &newResource) { - SinkTrace() << "Copy: " << domainObject << newResource; + SinkLog() << "Copy: " << domainObject << newResource; // Potentially copy to separate thread as well auto facade = getFacade(domainObject.resourceInstanceIdentifier()); return facade->copy(domainObject, newResource).addToContext(std::shared_ptr(facade)).onError([](const KAsync::Error &error) { SinkWarning() << "Failed to copy"; }); @@ -209,7 +209,7 @@ KAsync::Job Store::copy(const DomainType &domainObject, const QByteArray & template KAsync::Job Store::remove(const DomainType &domainObject) { - SinkTrace() << "Remove: " << domainObject; + SinkLog() << "Remove: " << domainObject; // Potentially move to separate thread as well auto facade = getFacade(domainObject.resourceInstanceIdentifier()); return facade->remove(domainObject).addToContext(std::shared_ptr(facade)).onError([](const KAsync::Error &error) { SinkWarning() << "Failed to remove"; }); -- cgit v1.2.3