Skip to content
Snippets Groups Projects

Add some more API calls to xtrace

parent ddc71966
Branches
Tags
No related merge requests found
......@@ -37,6 +37,8 @@ void StartTrace();
void StartTrace(std::string tag);
void StartTrace(std::vector<std::string> tags);
bool IsTracing();
Logger GetLogger(std::string agent);
void log(std::string message);
......
......@@ -123,6 +123,10 @@ void XTrace::StartTrace(std::vector<std::string> tags) {
sendReport(report);
}
bool XTrace::IsTracing() {
return XTraceBaggage::HasTaskID();
}
XTrace::Logger XTrace::GetLogger(std::string agent) {
return XTrace::Logger(agent);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment