MCPcopy Create free account
hub / github.com/doldecomp/mkdd / JUTReportConsole_f_va

Function JUTReportConsole_f_va

libs/JSystem/JUtility/JUTConsole.cpp:518–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516}
517
518void JUTReportConsole_f_va(const char *text, va_list args) {
519 char buf[256];
520 if(!JUTGetReportConsole()) {
521 vsnprintf(buf, sizeof(buf), text, args);
522 JUT_REPORT_MSG("%s", buf);
523 }
524 else if (JUTGetReportConsole()->getOutput() & OUTPUT_ALL) {
525 vsnprintf(buf, sizeof(buf), text, args);
526 JUTGetReportConsole()->print(buf);
527 }
528}
529
530void JUTReportConsole_f(const char *text, ...)
531{

Callers 3

setLogMessage_f_vaFunction · 0.85
JUTReportConsole_fFunction · 0.85
JUTWarningConsole_fFunction · 0.85

Calls 4

JUTGetReportConsoleFunction · 0.85
vsnprintfFunction · 0.85
getOutputMethod · 0.80
printMethod · 0.45

Tested by

no test coverage detected