13 #warning ZYPP_BASE_DEBUG_H included
14 #ifndef ZYPP_BASE_DEBUG_H
15 #define ZYPP_BASE_DEBUG_H
35 #define TAG INT << __PRETTY_FUNCTION__ << std::endl
38 inline std::ostream &
dumpMemOn( std::ostream & str,
const std::string & msg = std::string() )
50 str <<
"MEMUSAGE " << msg << std::endl;
112 {
static unsigned long _val = 0;
116 {
_ident = __PRETTY_FUNCTION__;
137 inline std::ostream & operator<<( std::ostream & str, const TraceCAD<_Tp> & obj )
138 {
return str <<
"(ID " << obj.numericId() <<
", TOTAL " << obj._totalTraceCAD()
139 <<
") [" << &obj <<
"] "; }
154 _DBG(
"DEBUG") << what_r << self_r <<
" (" << self_r.
_ident <<
")" << std::endl;
159 _DBG(
"DEBUG") << what_r << self_r <<
"( " << rhs_r <<
")" <<
" (" << self_r.
_ident <<
")" << std::endl;
172 #endif // ZYPP_BASE_DEBUG_H