libzypp 9.41.1

zypp::base::logger::Loglinebuf Class Reference

Inheritance diagram for zypp::base::logger::Loglinebuf:
streambuf

List of all members.

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

Detailed Description

Definition at line 107 of file LogControl.cc.


Constructor & Destructor Documentation

zypp::base::logger::Loglinebuf::Loglinebuf ( const std::string &  group_r,
LogLevel  level_r 
) [inline]

Definition at line 111 of file LogControl.cc.

zypp::base::logger::Loglinebuf::~Loglinebuf ( ) [inline]

Definition at line 119 of file LogControl.cc.

References _buffer.


Member Function Documentation

void zypp::base::logger::Loglinebuf::tagSet ( const char *  fil_r,
const char *  fnc_r,
int  lne_r 
) [inline]

Definition at line 126 of file LogControl.cc.

References zypp::_file.

virtual std::streamsize zypp::base::logger::Loglinebuf::xsputn ( const char *  s,
std::streamsize  n 
) [inline, private, virtual]

Definition at line 135 of file LogControl.cc.

virtual int zypp::base::logger::Loglinebuf::overflow ( int  ch = EOF) [inline, private, virtual]

Definition at line 138 of file LogControl.cc.

virtual int zypp::base::logger::Loglinebuf::writeout ( const char *  s,
std::streamsize  n 
) [inline, private, virtual]

Definition at line 148 of file LogControl.cc.

References _buffer, zypp::_file, and zypp::base::logger::putStream().


Member Data Documentation

Definition at line 171 of file LogControl.cc.

Definition at line 172 of file LogControl.cc.

Definition at line 173 of file LogControl.cc.

Definition at line 174 of file LogControl.cc.

Definition at line 175 of file LogControl.cc.

Definition at line 176 of file LogControl.cc.


The documentation for this class was generated from the following file: