tizen 2.4 release
[framework/web/wrt-commons.git] / tests / utils / wrt_utility.cpp
index 710b578..5f1ddd1 100644 (file)
@@ -28,7 +28,7 @@
 #include <unistd.h>
 #include <dpl/test/test_runner.h>
 #include <dpl/utils/wrt_utility.h>
-#include <dpl/log/log.h>
+#include <dpl/log/wrt_log.h>
 
 RUNNER_TEST_GROUP_INIT(DPL_WRT_UTILITY)
 
@@ -121,8 +121,8 @@ RUNNER_TEST(wrt_utility_WrtUtilMakeDir_PermissionError)
     //Going back to root UID
     if (setuid(0) != 0) {
         int error = errno;
-        LogWarning("Changing back to root UID failed: "
-                   << (error == 0 ? "No error detected" : strerror(error)));
+        WrtLogW("Changing back to root UID failed: %s",
+                   (error == 0 ? "No error detected" : strerror(error)));
     }
 }