| 540 | } |
| 541 | |
| 542 | void JUTWarningConsole_f_va(const char *text, va_list args) |
| 543 | { |
| 544 | char buf[256]; |
| 545 | if (!JUTGetWarningConsole()) |
| 546 | { |
| 547 | vsnprintf(buf, sizeof(buf), text, args); |
| 548 | OSReport("%s", buf); |
| 549 | } |
| 550 | else if (JUTGetWarningConsole()->getOutput() & OUTPUT_ALL) |
| 551 | { |
| 552 | vsnprintf(buf, sizeof(buf), text, args); |
| 553 | JUTGetWarningConsole()->print(buf); |
| 554 | } |
| 555 | } |
| 556 | |
| 557 | void JUTWarningConsole_f(const char *text, ...) |
| 558 | { |
no test coverage detected