MCPcopy Create free account
hub / github.com/Tencent/phxqueue / Log

Method Log

phxqueue/plugin/logger_sys.cpp:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void LoggerSys::Log(const int log_level, const char *format, va_list args) {
65 int sys_log_level = LogLevel2SysLogLevel(static_cast<comm::LogLevel>(log_level));
66 if (sys_log_level > g_sys_log_level_threshold) return;
67
68 char buf[1024] = {0};
69 vsnprintf(buf, sizeof(buf), format, args);
70 //vsyslog(sys_log_level, format, args);
71}
72
73
74} // namespace plugin

Callers

nothing calls this directly

Calls 1

LogLevel2SysLogLevelFunction · 0.85

Tested by

no test coverage detected