DUECA/DUSIME
|
Here macros for debugging/messaging are defined. More...
Here macros for debugging/messaging are defined.
The macros consist of a one-letter prefix indicating the logging level, and a three letter suffix indicating the logging class, e.g., D_MOD
, for logging debug messages for user modules.
Four different classes of debug messages are defined:
By default, logging with the D_
and I_
macros is switched off, logging with the W_
and E_
prefixes is switched on. The logging interface accessible from the DUECA application window can be used to adjust the different logging levels at runtime.
Before including this file, you can pre-define the macros, to influence the defaults, like:
This will have the initial debug and information messages in this file be on. During development, this might be preferable to switching all logging with the interface.
If using this in a header, include the file undebug.h
at the end of the header to clear the macros again.