tizen 2.4 release
[framework/web/wrt-commons.git] / modules / core / src / exception.cpp
similarity index 91%
rename from modules_mobile/core/src/exception.cpp
rename to modules/core/src/exception.cpp
index d3673e6..9454dbb 100644 (file)
@@ -21,7 +21,7 @@
  */
 #include <stddef.h>
 #include <dpl/exception.h>
-#include <dpl/log/log.h>
+#include <dpl/log/wrt_log.h>
 #include <cstdio>
 
 namespace DPL {
@@ -35,7 +35,7 @@ void LogUnhandledException(const std::string &str)
     printf("%s\n", str.c_str());
 
     // Logging to dlog
-    LogPedantic(str);
+    WrtLogD("%s", str.c_str());
 }
 
 void LogUnhandledException(const std::string &str,
@@ -51,7 +51,6 @@ void LogUnhandledException(const std::string &str,
     printf("%s\n", msg.str().c_str());
 
     // Logging to dlog
-    DPL::Log::LogSystemSingleton::Instance().Error(
-        str.c_str(), filename, line, function);
+    WrtLogE("%s", str.c_str());
 }
 } // namespace DPL