#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)
//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)));
}
}