| 59 | } |
| 60 | |
| 61 | void 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 | |
| 72 | void Logger::LogWarning(const char *format, ...) { |
| 73 | string newFormat("\033[44;37m " + string(format) + " \033[0m"); |
nothing calls this directly
no outgoing calls
no test coverage detected