//
#include "JSApplicationEventCallbackManager.h"
-#include <dpl/log/log.h>
+#include <Logger.h>
namespace DeviceAPI {
namespace Application {
{
if ( m_onInstalled == NULL )
{
- //LogDebug("oninstalled callback is not set");
+ //LoggerD("oninstalled callback is not set");
return;
}
JSValueRef objParam[1] = { appInfo };
{
if ( m_onUpdated == NULL )
{
- //LogDebug("onupdated callback is not set");
+ //LoggerD("onupdated callback is not set");
return;
}
JSValueRef objParam[1] = { appInfo };
{
if ( m_onUninstalled == NULL )
{
- //LogDebug("onuninstalled callback is not set");
+ //LoggerD("onuninstalled callback is not set");
return;
}
JSValueRef objParam[1] = { appId };
{
if ( m_onError == NULL )
{
- //LogDebug("Error callback is not set");
+ //LoggerD("Error callback is not set");
return;
}
JSValueRef objParam[1] = { error };
if (callback == NULL)
{
- LogError("callback is NULL");
+ LoggerE("callback is NULL");
return;
}
{
if (argc == 0)
{
- //LogDebug("Calling object directly, no arguments");
+ //LoggerD("Calling object directly, no arguments");
JSObjectCallAsFunction(context, callback, object, 0, NULL, NULL);
}
else
{
- //LogDebug("Calling object directly, one argument");
+ //LoggerD("Calling object directly, one argument");
JSObjectCallAsFunction(context, callback, object, argc, argv, NULL);
}
return;