| 2936 | } |
| 2937 | |
| 2938 | void fxVReport(void* console, txString theFormat, c_va_list theArguments) |
| 2939 | { |
| 2940 | #ifdef mxDebug |
| 2941 | txMachine* the = console; |
| 2942 | if (fxIsConnected(the)) { |
| 2943 | fxEchoStart(the); |
| 2944 | fxEcho(the, "<log>"); |
| 2945 | fxEchoFormat(the, theFormat, theArguments); |
| 2946 | fxEcho(the, "</log>"); |
| 2947 | fxEchoStop(the); |
| 2948 | } |
| 2949 | #elif defined(nrf52) && defined(mxInstrument) |
| 2950 | char buf[256]; |
| 2951 | vsnprintf(buf, 256, theFormat, theArguments); |
| 2952 | modLog_transmit(buf); |
| 2953 | #elif defined(DEBUG_EFM) |
| 2954 | memmove(_lastDebugStrBuffer, _debugStrBuffer, 256); |
| 2955 | vsprintf(_debugStrBuffer, theFormat, theArguments); |
| 2956 | _debugStrBuffer[255] = '\0'; |
| 2957 | #endif |
| 2958 | } |
| 2959 | |
| 2960 | void fxVReportException(void* console, txString thePath, txInteger theLine, txString theFormat, c_va_list theArguments) |
| 2961 | { |
no test coverage detected