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

Method LogVerbose

phxqueue/comm/logger.cpp:98–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void Logger::LogVerbose(const char *format, ...) {
99 string newFormat("\033[45;37m " + string(format) + " \033[0m");
100
101 if (impl_->log_func != nullptr) {
102 va_list args;
103 va_start(args, format);
104 impl_->log_func(static_cast<int>(LogLevel::Verbose), newFormat.c_str(), args);
105 va_end(args);
106
107 return;
108 }
109}
110
111void Logger::SetLogFunc(LogFunc log_func) {
112 impl_->log_func = log_func;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected