Turn on RTcmix printing, and specify the kinds of information to see.
print_on([print_level])
print_on() turns on reporting of RTcmix scheduling, file information, etc. (This corresponds to print_level 5 in the table below.) A subsequent call to print_off will stop RTcmix printing.
Here are the values for the optional print_level argument, which lets you specify what kinds of information will print:
print_level | messages that print |
---|---|
0 | fatal errors |
1 | rterrors |
2 | warn errors |
3 | print and printf’s |
4 | advise notifications |
5 | all the rest |
6 | internal debug info |
print_on()
This turns on printing at print_level 5.
print_on(3)
printf("Print my name: %s\n", myname)
This prints the value of myname, but does not print all the scheduling and other voluminous information.