SetWriteDbgLevel
This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.
Syntax
void setWriteDbgLevel (unsigned int priority);
Function
This function sets the priority level for thewriteDbgLevelCAPL function. The output priority must be set for every network node.
Parameters
priority Priority of current CAPL node for output to the Write Window.Rays for priority: 0 to 15
Return Values
—
Reference example from the CANoe 12 help. Check the required configuration, database objects and API availability in your installed version; this is not a recorded compiler or runtime test.
int i = 10;
int j = 12;
setWriteDbgLevel(7);
writeDbgLevel (4, "This is shown: h= %lxh",j);
// Output: This is shown: h= 0ch
writeDbgLevel (9, "This is not shown: d= %ld",i);
// No output
Related APIs
write | writeDbgLevel