| 64 | extern "C" { |
| 65 | |
| 66 | void log_generic(enum LogLevel level, const char* tag, const char* format, ...) { |
| 67 | va_list args; |
| 68 | va_start(args, format); |
| 69 | printf("%s %c (%" PRIu64 ") %s ", get_log_color(level), get_log_prefix(level), get_log_timestamp(), tag); |
| 70 | vprintf(format, args); |
| 71 | printf("\033[0m\n"); |
| 72 | va_end(args); |
| 73 | } |
| 74 | |
| 75 | } |
| 76 |
nothing calls this directly
no test coverage detected