#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 {
{
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());
}
}
};