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

Method LogStatus

phxqueue/comm/logger.cpp:61–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void Logger::LogStatus(const char *format, ...) {
62 if (impl_->log_func != nullptr) {
63 va_list args;
64 va_start(args, format);
65 impl_->log_func(static_cast<int>(LogLevel::Error), format, args);
66 va_end(args);
67
68 return;
69 }
70}
71
72void Logger::LogWarning(const char *format, ...) {
73 string newFormat("\033[44;37m " + string(format) + " \033[0m");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected