|
Public Member Functions |
| | Debugger (const char *name, const char *format=0,...) |
| | Debugger (int level, const char *name, const char *format=0,...) |
| | ~Debugger () |
Static Public Member Functions |
| static void | setOutput (void(*outFunc)(const char *, int)=0) |
| static void | setIntOut (void(*outFunc)(const char *, int)=0) |
| static void | enableOutput (bool enable=true, bool colorize=false) |
This class is used as an automatic variable that logs messages on creation and destruction (when the instruction block is left or function returns). IMPORTANT: the name is not copied so it should best be static.