| 62 | } |
| 63 | |
| 64 | void 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 |
nothing calls this directly
no test coverage detected