libzypp  17.25.7
zypp::debug Namespace Reference

Classes

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

Functions

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() 
)
inline

'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 LogControl.cc.

◆ operator<<()

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

\refers Tm Stream output.

Definition at line 127 of file Measure.cc.