Classes | |
class | Loglinebuf |
class | Loglinestream |
struct | LogControlImpl |
LogControl implementation (Singleton). More... | |
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. | |
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 () |
void zypp::base::logger::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 | |||
) | [inline] |
That's what Loglinebuf calls.
Definition at line 375 of file LogControl.cc.
References zypp::base::logger::LogControlImpl::instance(), and zypp::base::logger::LogControlImpl::putStream().
Referenced by zypp::base::logger::Loglinebuf::writeout().
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 361 of file LogControl.cc.
References zypp::base::logger::LogControlImpl::getStream(), and zypp::base::logger::LogControlImpl::instance().
bool zypp::base::logger::isExcessive | ( | ) |
Definition at line 384 of file LogControl.cc.
References zypp::base::logger::LogControlImpl::instance(), and zypp::base::logger::LogControlImpl::isExcessive().