tizen 2.4 release
[framework/web/wrt-commons.git] / modules / widget_dao / dao / property_dao_read_only.cpp
@@ -22,7 +22,7 @@
 #include <stddef.h>
 #include <dpl/wrt-dao-ro/property_dao_read_only.h>
 #include <dpl/wrt-dao-ro/widget_dao_read_only.h>
-#include <dpl/log/log.h>
+#include <dpl/log/wrt_log.h>
 #include <dpl/foreach.h>
 #include <dpl/wrt-dao-ro/webruntime_database.h>
 #include <dpl/wrt-dao-ro/WrtDatabase.h>
@@ -104,8 +104,8 @@ DPL::OptionalInt CheckPropertyReadFlag(DbWidgetHandle widgetHandle,
 DPL::OptionalInt CheckPropertyReadFlag(TizenAppId tzAppid,
                                        const WidgetPropertyKey &key)
 {
-    LogDebug("Checking Property flag. appid: " << tzAppid <<
-             ", key: " << key);
+    WrtLogD("Checking Property flag. appid: %ls, key: %ls",
+        tzAppid.c_str(), key.c_str());
 
     Try {
         using namespace DPL::DB::ORM;
@@ -127,7 +127,7 @@ DPL::OptionalInt CheckPropertyReadFlag(TizenAppId tzAppid,
 
 WidgetPropertyKeyList GetPropertyKeyList(TizenAppId tzAppid)
 {
-    LogDebug("Get PropertyKey list. appid: " << tzAppid);
+    WrtLogD("Get PropertyKey list. appid: %ls", tzAppid.c_str());
     Try {
         using namespace DPL::DB::ORM;
         using namespace DPL::DB::ORM::wrt;
@@ -160,7 +160,7 @@ WidgetPreferenceList GetPropertyList(DbWidgetHandle widgetHandle)
 
 WidgetPreferenceList GetPropertyList(TizenAppId tzAppId)
 {
-    LogDebug("Get Property list. tizenAppId: " << tzAppId);
+    WrtLogD("Get Property list. tizenAppId: %ls", tzAppId.c_str());
     DbWidgetHandle widgetHandle(WidgetDAOReadOnly::getHandle(tzAppId));
     return GetPropertyListRows(widgetHandle);
 }
@@ -169,8 +169,8 @@ WidgetPreferenceList GetPropertyList(TizenAppId tzAppId)
 WidgetPropertyValue GetPropertyValue(TizenAppId tzAppid,
                                      const WidgetPropertyKey &key)
 {
-    LogDebug("Get Property value. appid: " << tzAppid <<
-             ", key: " << key);
+    WrtLogD("Get Property value. appid: %ls, key: %ls",
+        tzAppid.c_str(), key.c_str());
     Try {
         using namespace DPL::DB::ORM;
         using namespace DPL::DB::ORM::wrt;