libzypp 17.31.23
|
Classes | |
struct | LogControlImpl |
LogControl implementation (thread_local Singleton). More... | |
class | Loglinebuf |
class | Loglinestream |
Enumerations | |
enum | LogLevel { E_XXX = 999 , E_DBG = 0 , E_MIL , E_WAR , E_ERR , E_SEC , E_INT , E_USR } |
Definition of log levels. More... | |
Functions | |
void | putStream (const std::string &group_r, LogLevel level_r, const char *file_r, const char *func_r, int line_r, const std::string &buffer_r) |
That's what Loglinebuf calls. | |
int & | logControlValidFlag () |
std::ostream & | getStream (const char *group_r, LogLevel level_r, const char *file_r, const char *func_r, const int line_r) |
Return a log stream to write on. | |
bool | isExcessive () |
|
inline |
int & zypp::base::logger::logControlValidFlag | ( | ) |
Definition at line 521 of file LogControl.cc.
std::ostream & zypp::base::logger::getStream | ( | const char * | group_r, |
LogLevel | level_r, | ||
const char * | file_r, | ||
const char * | func_r, | ||
const int | line_r | ||
) |
Return a log stream to write on.
The returned log stream is determined by group_r and level_r. The remaining arguments file_r, func_r and line_r are expected to denote the location in the source code that issued the message.
Definition at line 745 of file LogControl.cc.
bool zypp::base::logger::isExcessive | ( | ) |
Definition at line 780 of file LogControl.cc.