MCPcopy Create free account
hub / github.com/apache/brpc / OutputLog

Function OutputLog

src/butil/logging.cc:967–973  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

965}
966
967inline void OutputLog(std::ostream& os, const butil::StringPiece& s) {
968 if (FLAGS_escape_log) {
969 EscapeJson(os, s);
970 } else {
971 os.write(s.data(), s.length());
972 }
973}
974
975void PrintLog(std::ostream& os, int severity, const char* file, int line,
976 const char* func, const butil::StringPiece& content) {

Callers 1

PrintLogFunction · 0.85

Calls 3

EscapeJsonFunction · 0.85
dataMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected