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

Method LogInfo

phxqueue/comm/logger.cpp:85–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void Logger::LogInfo(const char *format, ...) {
86 string newFormat("\033[45;37m " + string(format) + " \033[0m");
87
88 if (impl_->log_func != nullptr) {
89 va_list args;
90 va_start(args, format);
91 impl_->log_func(static_cast<int>(LogLevel::Info), newFormat.c_str(), args);
92 va_end(args);
93
94 return;
95 }
96}
97
98void Logger::LogVerbose(const char *format, ...) {
99 string newFormat("\033[45;37m " + string(format) + " \033[0m");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected