From ace81f873b910493ab884dc5a6a38ba6ec3d56d3 Mon Sep 17 00:00:00 2001 From: Kevin Rocard Date: Tue, 11 Dec 2012 16:19:17 +0100 Subject: PFW: Do not stop on hard sync errors BZ: 76263 When synchronization fails, the parameter-framework should log a warning and continue synchronization instead of stopping Change-Id: Ic12d8798ea25584db714ee26e644fac793c28881 Signed-off-by: Kevin Rocard Reviewed-on: http://android.intel.com:8080/81825 Reviewed-by: Centelles, Sylvain Reviewed-by: Denneulin, Guillaume Tested-by: Dixon, CharlesX Reviewed-by: cactus Tested-by: cactus --- parameter/Element.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'parameter/Element.h') diff --git a/parameter/Element.h b/parameter/Element.h index 6e5abc9..d870145 100644 --- a/parameter/Element.h +++ b/parameter/Element.h @@ -45,7 +45,8 @@ public: virtual ~CElement(); // Logging - void log(const string& strMessage, ...) const; + void log_info(const string& strMessage, ...) const; + void log_warning(const string& strMessage, ...) const; // Description void setDescription(const string& strDescription); @@ -119,7 +120,7 @@ protected: const CElement* getRoot() const; private: // Logging (done by root) - virtual void doLog(const string& strLog) const; + virtual void doLog(bool bIsWarning, const string& strLog) const; virtual void nestLog() const; virtual void unnestLog() const; // Returns Name or Kind if no Name -- cgit v1.1