Public Member Functions | |
Loglinebuf (const std::string &group_r, LogLevel level_r) | |
~Loglinebuf () | |
void | tagSet (const char *fil_r, const char *fnc_r, int lne_r) |
Private Member Functions | |
virtual std::streamsize | xsputn (const char *s, std::streamsize n) |
virtual int | overflow (int ch=EOF) |
virtual int | writeout (const char *s, std::streamsize n) |
Private Attributes | |
std::string | _group |
LogLevel | _level |
const char * | _file |
const char * | _func |
int | _line |
std::string | _buffer |
Definition at line 105 of file LogControl.cc.
zypp::base::logger::Loglinebuf::Loglinebuf | ( | const std::string & | group_r, | |
LogLevel | level_r | |||
) | [inline] |
Definition at line 109 of file LogControl.cc.
zypp::base::logger::Loglinebuf::~Loglinebuf | ( | ) | [inline] |
void zypp::base::logger::Loglinebuf::tagSet | ( | const char * | fil_r, | |
const char * | fnc_r, | |||
int | lne_r | |||
) | [inline] |
virtual std::streamsize zypp::base::logger::Loglinebuf::xsputn | ( | const char * | s, | |
std::streamsize | n | |||
) | [inline, private, virtual] |
Definition at line 133 of file LogControl.cc.
virtual int zypp::base::logger::Loglinebuf::overflow | ( | int | ch = EOF |
) | [inline, private, virtual] |
Definition at line 136 of file LogControl.cc.
virtual int zypp::base::logger::Loglinebuf::writeout | ( | const char * | s, | |
std::streamsize | n | |||
) | [inline, private, virtual] |
Definition at line 146 of file LogControl.cc.
References _buffer, zypp::_file, and zypp::base::logger::putStream().
std::string zypp::base::logger::Loglinebuf::_group [private] |
Definition at line 169 of file LogControl.cc.
Definition at line 170 of file LogControl.cc.
const char* zypp::base::logger::Loglinebuf::_file [private] |
Definition at line 171 of file LogControl.cc.
const char* zypp::base::logger::Loglinebuf::_func [private] |
Definition at line 172 of file LogControl.cc.
int zypp::base::logger::Loglinebuf::_line [private] |
Definition at line 173 of file LogControl.cc.
std::string zypp::base::logger::Loglinebuf::_buffer [private] |
Definition at line 174 of file LogControl.cc.