mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-06 05:12:26 +08:00
Used log system instead of stdout (part 2) #4690
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user