*/
#include "JSLocalMessagePort.h"
-
-#include <dpl/log/log.h>
#include <CommonsJavaScript/Validator.h>
#include <CommonsJavaScript/Converter.h>
#include <CommonsJavaScript/JSCallbackManager.h>
#include "EventLocalMessagePortRemoveMessagePortListener.h"
#include "MessagePortListenerManager.h"
#include "MessagePortJSUtil.h"
+#include <Logger.h>
#define TIZEN_LOCAL_MESSAGE_PORT "LocalMessagePort"
const JSClassRef JSLocalMessagePort::getClassRef()
{
- LogInfo("entered");
+ LoggerI("entered");
if (!m_jsClassRef) {
m_jsClassRef = JSClassCreate(&m_classInfo);
}
}
catch(BasePlatformException &e)
{
- LogWarning("trying to get incorrect value");
+ LoggerW("trying to get incorrect value");
}
return JSValueMakeUndefined(context);
}
catch(BasePlatformException &e)
{
- LogWarning("trying to get incorrect value");
+ LoggerW("trying to get incorrect value");
}
return JSValueMakeUndefined(context);
const JSValueRef arguments[],
JSValueRef* exception)
{
- LogDebug("entered");
+ LoggerD("entered");
TIME_TRACER_ITEM_BEGIN(__FUNCTION__, 0);
LocalMessagePortPtr localMessagePort;
JSContextRef gContext;
}
catch(BasePlatformException &e)
{
- LogError("No private object");
+ LoggerE("No private object");
return JSWebAPIException::throwException(context, exception, e);
}
}
Catch(Exception)
{
- LogError("Error on platform : " << _rethrown_exception.GetMessage());
+ LoggerE("Error on platform : " << _rethrown_exception.GetMessage());
return JSWebAPIException::throwException(context, exception,
UnknownException("Plugin's internal error"));
}
}
catch(BasePlatformException &e)
{
- LogError("Error on conversion : " << e.getMessage());
+ LoggerE("Error on conversion : " << e.getMessage());
return JSWebAPIException::throwException(context, exception,
UnknownException("Internal error"));
}
const JSValueRef arguments[],
JSValueRef* exception)
{
- LogDebug("entered");
+ LoggerD("entered");
TIME_TRACER_ITEM_BEGIN(__FUNCTION__, 0);
LocalMessagePortPtr localMessagePort;
JSContextRef gContext;
}
catch(BasePlatformException &e)
{
- LogError("No private object");
+ LoggerE("No private object");
return JSWebAPIException::throwException(context, exception, e);
}
}
Catch(Exception)
{
- LogError("Error on platform : " << _rethrown_exception.GetMessage());
+ LoggerE("Error on platform : " << _rethrown_exception.GetMessage());
return JSWebAPIException::throwException(context, exception,
UnknownException("Internal error"));
}