wrt-plugins-tizen_0.4.23
[framework/web/wrt-plugins-tizen.git] / src / Systeminfo / JSStorageInfo.cpp
old mode 100755 (executable)
new mode 100644 (file)
index e6e605a..f75fcd5
@@ -16,8 +16,8 @@
 //
 
 #include <memory>
-#include <dpl/log/log.h>
 #include "JSStorageInfo.h"
+#include <Logger.h>
 
 namespace DeviceAPI {
 namespace Systeminfo {
@@ -82,10 +82,10 @@ void JSStorageInfo::Initialize(JSContextRef context, JSObjectRef object)
 
 void JSStorageInfo::Finalize(JSObjectRef object)
 {
-    LogDebug("Entered");
+    LoggerD("Entered");
     JSStoragePriv* priv = static_cast<JSStoragePriv*>(JSObjectGetPrivate(object));
     JSObjectSetPrivate(object, NULL);
-    LogDebug("Deleting StorageInfo object");
+    LoggerD("Deleting StorageInfo object");
     delete priv;
 }
 
@@ -102,10 +102,10 @@ JSObjectRef JSStorageInfo::createJSObject(JSContextRef context, const StoragePro
 
 JSValueRef JSStorageInfo::getProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
 {
-    LogDebug("Enter");
+    LoggerD("Enter");
     JSStoragePriv *priv = static_cast<JSStoragePriv*>(JSObjectGetPrivate(object));
     if (NULL == priv) {
-        LogError("Private object not set.");
+        LoggerE("Private object not set.");
         return JSValueMakeUndefined(context);
     }
 
@@ -127,7 +127,7 @@ JSValueRef JSStorageInfo::getProperty(JSContextRef context, JSObjectRef object,
     }
     Catch(Exception)
     {
-        LogError("Exception: " << _rethrown_exception.GetMessage());
+        LoggerE("Exception: " << _rethrown_exception.GetMessage());
     }
     return JSValueMakeUndefined(context);
 }