Used log system instead of stdout (part 2) #4690

This commit is contained in:
Jerry (Xinyu Hou) 2015-05-26 17:18:14 -07:00
parent 3788084e43
commit 907b02fb09
1 changed files with 3 additions and 2 deletions

View File

@ -63,8 +63,9 @@ ToolApp::run(int argc, char** argv)
return kExitFailed;
}
else {
// HACK: send to standard out so watchdog can parse.
std::cout << "activeDesktop:" << name.c_str() << std::endl;
String output("activeDesktop:");
output.append(name);
LOG((CLOG_INFO "%s", output.c_str()));
}
#endif
}