MCPcopy Create free account
hub / github.com/apple/foundationdb / LogCommand

Function LogCommand

fdbcli/fdbcli.actor.cpp:860–863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

858}
859
860void LogCommand(std::string line, UID randomID, std::string errMsg) {
861 printf("%s\n", errMsg.c_str());
862 TraceEvent(SevInfo, "CLICommandLog", randomID).detail("Command", line).detail("Error", errMsg);
863}
864
865struct CLIOptions {
866 std::string program_name;

Callers 1

fdbcli.actor.cppFile · 0.85

Calls 4

printfFunction · 0.85
TraceEventClass · 0.85
detailMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected