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 |
Y2SLog::Y2Loglinebuf::Y2Loglinebuf | ( | const char * | myname, | |
const unsigned | mylevel | |||
) | [inline, private] |
Y2SLog::Y2Loglinebuf::~Y2Loglinebuf | ( | ) | [inline, private] |
References buffer, and writeout().
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().
friend class Y2Loglinestream [friend] |
string Y2SLog::Y2Loglinebuf::buffer [private] |
Referenced by writeout(), and ~Y2Loglinebuf().
const char* Y2SLog::Y2Loglinebuf::file [private] |
Referenced by Y2SLog::Y2Loglinestream::getStream(), writeout(), and Y2Loglinebuf().
const char* Y2SLog::Y2Loglinebuf::func [private] |
Referenced by Y2SLog::Y2Loglinestream::getStream(), writeout(), and Y2Loglinebuf().
const loglevel_t Y2SLog::Y2Loglinebuf::level [private] |
Referenced by writeout().
int Y2SLog::Y2Loglinebuf::line [private] |
Referenced by Y2SLog::Y2Loglinestream::getStream(), writeout(), and Y2Loglinebuf().
const char* const Y2SLog::Y2Loglinebuf::name [private] |
Referenced by writeout().