Used log system instead of stdout (part 2) #4690
This commit is contained in:
parent
3788084e43
commit
907b02fb09
|
@ -63,8 +63,9 @@ ToolApp::run(int argc, char** argv)
|
||||||
return kExitFailed;
|
return kExitFailed;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// HACK: send to standard out so watchdog can parse.
|
String output("activeDesktop:");
|
||||||
std::cout << "activeDesktop:" << name.c_str() << std::endl;
|
output.append(name);
|
||||||
|
LOG((CLOG_INFO "%s", output.c_str()));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue