This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SYS/Bios: How to use event levels in combination with Log_warning and Log_error?

Hey TI-Community.

I am new to Sys/Bios and using it on a C674x DSP. At the moment I am trying to find out what is the best way to filter Log messages printed from my C++ code. I read about the Diags_User1 - Diags_User6 and the Diags_LEVEL1 - Diags_LEVEL4 in the RTSC Package Documentation. As mention in the documation the levels provide a easy way to filter out Log_print messages. Now I am looking for a similar functionality to filter Log_warning and Log_error messages by level.

Is there a way to pass a Diags level to this both macros?

Example for the use of Diags_USER and Diags_LEVEL:

Log_print0(Diags_USER2 | Diags_LEVEL1,"tsk0 Log_print0 Diags_USER2 | Diags_LEVEL1");