#include <StMuDebug.h>
Static Public Member Functions | |
| static void | on () |
| switch debug output on ( to last known level) | |
| static void | setLevel (unsigned int level) |
| sets the debug level | |
| static void | off () |
| switch of debug level, but remember last | |
| static int | level () |
| returns debug level | |
Static Protected Member Functions | |
| static int | absolut (int i) |
| returns the absolute of the debug level | |
Static Protected Attributes | |
| static int | mDebug |
| debug level | |
You can use the debug level as: if ( StMuDebug::level()>2 ) { ... } However you will also find macros 'DEBUGMESSAGE(<string>)` or `IFDEBUG(<cmd>)` which I frequently use to automatically print the name of actual scope
Definition at line 61 of file StMuDebug.h.
1.5.9