Y2SLog::Y2Loglinebuf Class Reference

List of all members.

Private Member Functions

virtual streamsize xsputn (const char *s, streamsize n)
virtual int overflow (int ch=EOF)
virtual int writeout (const char *s, streamsize n)
 Y2Loglinebuf (const char *myname, const unsigned mylevel)
 ~Y2Loglinebuf ()

Private Attributes

const char *const name
const loglevel_t level
const char * file
const char * func
int line
string buffer

Friends

class Y2Loglinestream

Constructor & Destructor Documentation

Y2SLog::Y2Loglinebuf::Y2Loglinebuf ( const char *  myname,
const unsigned  mylevel 
) [inline, private]

References file, func, and line.

Y2SLog::Y2Loglinebuf::~Y2Loglinebuf (  )  [inline, private]

References buffer, and writeout().


Member Function Documentation

virtual int Y2SLog::Y2Loglinebuf::overflow ( int  ch = EOF  )  [inline, private, virtual]

References writeout().

virtual int Y2SLog::Y2Loglinebuf::writeout ( const char *  s,
streamsize  n 
) [inline, private, virtual]

References buffer, file, func, level, line, name, and y2_logger.

Referenced by overflow(), xsputn(), and ~Y2Loglinebuf().

virtual streamsize Y2SLog::Y2Loglinebuf::xsputn ( const char *  s,
streamsize  n 
) [inline, private, virtual]

References writeout().


Friends And Related Function Documentation

friend class Y2Loglinestream [friend]

Member Data Documentation

string Y2SLog::Y2Loglinebuf::buffer [private]

Referenced by writeout(), and ~Y2Loglinebuf().

const char* Y2SLog::Y2Loglinebuf::file [private]
const char* Y2SLog::Y2Loglinebuf::func [private]

Referenced by writeout().

const char* const Y2SLog::Y2Loglinebuf::name [private]

Referenced by writeout().


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

Generated on a sunny day for yast2-core by doxygen 1.6.3