Public Member Functions | |
| DynTrace (const char *subsystem) | |
| ~DynTrace () | |
| int | getLevel () const |
| void | setLevel (int newLevel) |
To use this class, define a (static) object in a class/method/... which you want to trace dynamically. If you name this object _dt_, you can use one of the above TRACE-macros (thus replacing the TRACE-macros from YGP/Trace.h, or else use the OTRACE-macros accordingly.
| YGP::DynTrace::DynTrace | ( | const char * | subsystem | ) |
Constructor.
| subsystem | Name of subsystem |
| YGP::DynTrace::~DynTrace | ( | ) |
Destructor.