ug4
|
#include <debug_id.h>
Public Member Functions | |
bool | debug_id_registered (const char *debugIDname) const |
returns true if there is a DebugID with name debugIDname More... | |
DebugID | get_debug_id (const char *debugID) const |
int | get_debug_level (const char *debugID) const |
returns the debug level of debugID, -1 if not found More... | |
int | get_debug_level (const DebugID &debugID) const |
returns the debug level of debugID, -1 if not found More... | |
DebugID | get_or_create_debug_id (const char *debugID) |
std::string | get_registered_debug_IDs () const |
returns a string describing all registered debugIDs. More... | |
const std::vector< std::string > & | get_registered_debug_IDs_arr () const |
bool | register_debug_id (const char *debugID) |
bool | set_debug_level (const char *debugID, int level) |
sets the debug level of debugID if registered to 'level' More... | |
bool | set_debug_level (DebugID &debugID, int level) |
sets the debug level of debugID if registered to 'level' More... | |
bool | set_debug_levels (int lev) |
sets the debug level of all registered debugIDs to 'lev' More... | |
Static Public Member Functions | |
static DebugIDManager & | instance () |
returns a reference to the single instance of LogAssistant More... | |
Private Member Functions | |
int | get_debug_level (uint32 debugIDhash) const |
returns the debug level of debugIDhash, -1 if not found More... | |
bool | set_debug_level (uint32 debugIDhash, int level) |
sets the debug level of debugIDhash if registered to 'level' More... | |
Private Attributes | |
std::vector< std::string > | m_dbgLevelIdentifiers |
std::map< uint32, int > | m_dbgLevels |
The DebugIDManager. get, set debug level, get a list of available DebugIDs etc.