wrt-plugins-tizen_0.4.23
[framework/web/wrt-plugins-tizen.git] / src / Calendar / CalendarListenerManager.h
old mode 100755 (executable)
new mode 100644 (file)
index d50db48..5509a62
 
 #include <map>
 #include <JavaScriptCore/JavaScript.h>
-#include <dpl/log/log.h>
 #include <dpl/shared_ptr.h>
 #include <dpl/singleton.h>
 #include <IListenerManager.h>
 #include "CalendarResponseDispatcher.h"
 #include "JSCalendar.h"
 #include "ICalendar.h"
+#include <Logger.h>
 
 namespace DeviceAPI {
 namespace Calendar {
@@ -63,21 +63,21 @@ public:
        {
                CalendarPrivObject *privateObject = static_cast<CalendarPrivObject*>(JSObjectGetPrivate(m_object));
                if (!privateObject) {
-                       LogWarning("Object is null.");
+                       LoggerW("Object is null.");
                        return;
                }
 
                ICalendarPtr calendar = privateObject->getObject();
 
                Try {
-                       LogDebug("Remove change listeners for calendar.");
+                       LoggerD("Remove change listeners for calendar.");
 
                        IEventClearWatchPtr dplEvent(new IEventClearWatch());
                        dplEvent->setWatchId(m_watchId);
                        dplEvent->setForSynchronousCall();
                        calendar->clearWatch(dplEvent);
                } Catch(WrtDeviceApis::Commons::Exception) {
-                       LogError("Error on platform : " << _rethrown_exception.GetMessage());
+                       LoggerE("Error on platform : " << _rethrown_exception.GetMessage());
                }
        }
 };