| 70 | } |
| 71 | |
| 72 | void Logger::LogWarning(const char *format, ...) { |
| 73 | string newFormat("\033[44;37m " + string(format) + " \033[0m"); |
| 74 | |
| 75 | if (impl_->log_func != nullptr) { |
| 76 | va_list args; |
| 77 | va_start(args, format); |
| 78 | impl_->log_func(static_cast<int>(LogLevel::Warning), newFormat.c_str(), args); |
| 79 | va_end(args); |
| 80 | |
| 81 | return; |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | void Logger::LogInfo(const char *format, ...) { |
| 86 | string newFormat("\033[45;37m " + string(format) + " \033[0m"); |
nothing calls this directly
no outgoing calls
no test coverage detected