wrt-plugins-tizen_0.4.23
[framework/web/wrt-plugins-tizen.git] / src / Systeminfo / SysteminfoListenerManager.h
old mode 100755 (executable)
new mode 100644 (file)
index d18e440..1051f70
 
 #include <map>
 #include <JavaScriptCore/JavaScript.h>
-#include <dpl/log/log.h>
 #include <dpl/shared_ptr.h>
 #include <dpl/singleton.h>
 #include <IListenerManager.h>
 #include "JSSysteminfo.h"
+#include <Logger.h>
 
 namespace DeviceAPI {
 namespace Systeminfo {
@@ -59,7 +59,7 @@ public:
                JSSysteminfoPriv *priv = static_cast<JSSysteminfoPriv*>(JSObjectGetPrivate(m_object));  
 
                if (!priv) {
-                       LogWarning("Object has no private object");
+                       LoggerW("Object has no private object");
                        return;
                }
 
@@ -67,7 +67,7 @@ public:
                        ISysteminfoPtr Systeminfos(priv->getObject());
                        Systeminfos->clearWatch(m_watchId);
                } Catch(WrtDeviceApis::Commons::Exception) {
-                       LogError("Error on platform : " << _rethrown_exception.GetMessage());
+                       LoggerE("Error on platform : " << _rethrown_exception.GetMessage());
                }
        }
 };