wrt-plugins-tizen_0.4.23
[framework/web/wrt-plugins-tizen.git] / src / Common / JSTizenException.cpp
index ba312fe..271c829 100644 (file)
 //
 
 #include "JSTizenException.h"
-
-#include <dpl/log/log.h>
-
 #include <CommonsJavaScript/Converter.h>
+#include "Logger.h"
 
 namespace DeviceAPI {
 namespace Common {
@@ -118,7 +116,7 @@ namespace Common {
                JSValueRef JSTizenException::getStaticProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* /*exception*/) {
                        PrivateObject* privateObject = static_cast<PrivateObject*> (JSObjectGetPrivate(object));
                        if (!privateObject) {
-                               LogError("Private object is not set.");
+                               LoggerE("Private object is not set.");
                                return JSValueMakeUndefined(context);
                        }
 
@@ -130,7 +128,7 @@ namespace Common {
 //                                     return converter.toJSValueRef(privateObject->getObject()->getMessage());
 //                             }
 //                     } catch (const WrtDeviceApis::Commons::ConversionException& ex) {
-//                             LogError("Exception: " << ex.GetMessage());
+//                             LoggerE("Exception: " << ex.GetMessage());
 //                     }
 
                        return JSValueMakeUndefined(context);