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