From fc4acf0513acbe6413187304fa65ce29b27f9901 Mon Sep 17 00:00:00 2001 From: Konrad Rosenbaum Date: Sun, 10 Jul 2016 11:15:42 +0200 Subject: [PATCH] add better logging to transaction --- qtbase/include/transaction.h | 3 +++ qtbase/src/transaction.cpp | 5 ++++- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/qtbase/include/transaction.h b/qtbase/include/transaction.h index 410a7c9..b65467d 100644 --- a/qtbase/include/transaction.h +++ b/qtbase/include/transaction.h @@ -30,6 +30,9 @@ class WOLF_BASE_EXPORT WTransaction:public WHelper Q_PROPERTY(QString errorString READ errorString) Q_PROPERTY(QString interfaceName READ interface) public: + ///sets the logging prefix for transactions, per default it is "T" + static void setLogPrefix(QString); + /**stage the transaction is in*/ enum Stage { Uninitialized=0,///