/* * $Id: Debug.cpp 88 2008-12-10 18:31:39Z rosiere $ * * [ Description ] * */ #include "Common/include/Debug.h" #include "Common/include/Environment.h" namespace morpheo { static uint32_t _debug_depth = 0; #undef FUNCTION #define FUNCTION "debug_tab" std::string debug_tab (void) { return std::string(_debug_depth,'\t'); } #undef FUNCTION #define FUNCTION "debug_tab_inc" void debug_tab_inc (void) { // _debug_depth ++; } #undef FUNCTION #define FUNCTION "debug_tab_dec" void debug_tab_dec (void) { // _debug_depth --; } }; // end namespace morpheo