| 83 | } |
| 84 | |
| 85 | void 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 | |
| 98 | void Logger::LogVerbose(const char *format, ...) { |
| 99 | string newFormat("\033[45;37m " + string(format) + " \033[0m"); |
nothing calls this directly
no outgoing calls
no test coverage detected