libzypp  17.25.2
zypp::debug Namespace Reference


class  Measure
 Tool to measure elapsed real and process times. More...
struct  Tm
 Times measured by Measure. More...
struct  TraceCAD
 A simple tracer for (copy) Construction, Assignment, and Destruction. More...
struct  TraceCADBase
 Base for a simple tracer. More...
struct  TraceLeave


std::ostream & dumpMemOn (std::ostream &str, const std::string &msg=std::string())
 'ps v' More...
template<class Tp >
void traceCAD (TraceCADBase::What what_r, const TraceCAD< Tp > &self_r, const TraceCAD< Tp > &rhs_r)
 Drop a log line about the traced method. More...
void osdlog (const std::string &msg_r, unsigned level_r)
std::ostream & operator<< (std::ostream &str, const Tm &obj)
 \refers Tm Stream output. More...

Function Documentation

◆ dumpMemOn()

std::ostream& zypp::debug::dumpMemOn ( std::ostream &  str,
const std::string &  msg = std::string() 

'ps v'

Definition at line 39 of file Debug.h.

◆ traceCAD()

template<class Tp >
void zypp::debug::traceCAD ( TraceCADBase::What  what_r,
const TraceCAD< Tp > &  self_r,
const TraceCAD< Tp > &  rhs_r 

Drop a log line about the traced method.

Overload to fit your needs.

Definition at line 155 of file Debug.h.

◆ osdlog()

void zypp::debug::osdlog ( const std::string &  msg_r,
unsigned  level_r 

Definition at line 32 of file

◆ operator<<()

std::ostream& zypp::debug::operator<< ( std::ostream &  str,
const Tm obj 

\refers Tm Stream output.

Definition at line 127 of file