14 #warning ZYPP_BASE_DEBUG_H included
15 #ifndef ZYPP_BASE_DEBUG_H
16 #define ZYPP_BASE_DEBUG_H
36 #define TAG INT << __PRETTY_FUNCTION__ << std::endl
39 inline std::ostream &
dumpMemOn( std::ostream & str,
const std::string & msg = std::string() )
51 str <<
"MEMUSAGE " << msg << std::endl;
115 {
static unsigned long _val = 0;
119 {
_ident = __PRETTY_FUNCTION__;
147 inline std::ostream & operator<<( std::ostream & str, const TraceCAD<Tp> & obj )
148 {
return str <<
"(ID " << obj.numericId() <<
", TOTAL " << obj._totalTraceCAD()
149 <<
") [" << &obj <<
"] "; }
164 L_DBG(
"DEBUG") << what_r << self_r <<
" (" << self_r.
_ident <<
")" << std::endl;
171 L_DBG(
"DEBUG") << what_r << self_r <<
"( " << rhs_r <<
")" <<
" (" << self_r.
_ident <<
")" << std::endl;
184 #endif // ZYPP_BASE_DEBUG_H
185 #endif // ZYPP_NDEBUG