*/
#include <dpl/scoped_dir.h>
#include <dpl/errno_string.h>
-#include <dpl/log/log.h>
+#include <dpl/log/wrt_log.h>
#include <fts.h>
#include <sys/types.h>
bool status = removeRecusive(str.c_str());
if(!status)
{
- LogError("Error while removing recursively: " << str);
+ WrtLogE("Error while removing recursively: %s", str.c_str());
}
}
}
if (mkdir(str.c_str(), mode) == -1)
{
std::string errstr = DPL::GetErrnoString();
- LogError("Error while creating directory: " << str
- << " [" << errstr << "]");
+ WrtLogE("Error while creating directory: %s [%s]",
+ str.c_str(), errstr.c_str());
}
}
}