#include <yateclass.h>
Inheritance diagram for DebugEnabler:
Public Member Functions | |
DebugEnabler (int level=TelEngine::debugLevel(), bool enabled=true) | |
int | debugLevel () const |
int | debugLevel (int level) |
bool | debugEnabled () const |
void | debugEnabled (bool enable) |
const char * | debugName () const |
bool | debugAt (int level) const |
bool | debugChained () const |
void | debugChain (const DebugEnabler *chain=0) |
void | debugCopy (const DebugEnabler *original=0) |
Protected Member Functions | |
void | debugName (const char *name) |
Holds a local debugging level that can be modified separately from the global debugging
|
Constructor
|
|
Check if debugging output should be generated
|
|
Chain this debug holder to a parent or detach from existing one
|
|
Check if this enabler is chained to another one
|
|
Copy debug settings from another object or from engine globals
|
|
Set the current debug activation status
|
|
Retrive the current debug activation status
|
|
Set the current local debug level.
|
|
Retrive the current local debug level
|
|
Set the current debug name
|
|
Get the current debug name
|