// limitations under the License.
//
-
-#include <dpl/log/log.h>
#include <dpl/shared_ptr.h>
#include <CommonsJavaScript/Converter.h>
#include <CommonsJavaScript/JSDOMExceptionFactory.h>
//#include <JSTizenExceptionFactory.h>
//#include <JSTizenException.h>
#include <JSUtil.h>
-#include <Logger.h>
-
#include "JSApplicationControlData.h"
#include "ApplicationConverter.h"
#include "ApplicationUtil.h"
+#include <Logger.h>
using namespace WrtDeviceApis::Commons;
using namespace WrtDeviceApis::CommonsJavaScript;
JSObjectRef JSApplicationControlData::createJSObject(JSContextRef context, const ApplicationControlDataPtr &appdata)
{
- LogInfo(">> createJSObject");
+ LoggerI(">> createJSObject");
JSApplicationControlDataPriv *priv = new JSApplicationControlDataPriv(context, appdata);
if (!priv) {
void JSApplicationControlData::initialize(JSContextRef context, JSObjectRef object)
{
- LogInfo(">> initialize");
+ LoggerI(">> initialize");
}
void JSApplicationControlData::finalize(JSObjectRef object)
{
- LogInfo(">> finalize");
+ LoggerI(">> finalize");
JSApplicationControlDataPriv* priv = static_cast<JSApplicationControlDataPriv*>(JSObjectGetPrivate(object));
JSObjectSetPrivate(object, NULL);
- LogDebug("Deleting ApplicationControl object");
+ LoggerD("Deleting ApplicationControl object");
delete priv;
}
ApplicationControlDataPtr JSApplicationControlData::getPrivData(JSObjectRef object)
{
- LogDebug("entered");
+ LoggerD("entered");
JSApplicationControlDataPriv *priv = static_cast<JSApplicationControlDataPriv*>(JSObjectGetPrivate(object));
if (!priv) {
throw TypeMismatchException("Private object is null");