Definition at line 266 of file Logger.H.
Public Member Functions | |
virtual int | overflow (int c) |
LoggerStreamBuf (int priority) | |
virtual int | sync () |
~LoggerStreamBuf () | |
virtual std::streamsize | xsputn (const char *s, std::streamsize num) |
Private Attributes | |
std::stringstream | m_out |
int | m_priority |
std::string | m_buffer |
std::vector< char > | m_vector |
pthread_mutex_t | mutex |
LoggerStreamBuf | ( | int | priority | ) | [inline] |
Definition at line 291 of file Logger.H.
References LoggerStreamBuf::m_buffer, LoggerStreamBuf::m_priority, and LoggerStreamBuf::mutex.
~LoggerStreamBuf | ( | ) | [inline] |
virtual int overflow | ( | int | c | ) | [inline, virtual] |
Definition at line 279 of file Logger.H.
References LoggerStreamBuf::m_vector, and LoggerStreamBuf::mutex.
virtual int sync | ( | ) | [inline, virtual] |
Definition at line 297 of file Logger.H.
References WURDE::g_log(), LoggerStreamBuf::m_buffer, LoggerStreamBuf::m_priority, LoggerStreamBuf::m_vector, and LoggerStreamBuf::mutex.
Referenced by LoggerStreamBuf::~LoggerStreamBuf().
virtual std::streamsize xsputn | ( | const char * | s, | |
std::streamsize | num | |||
) | [inline, virtual] |
Definition at line 325 of file Logger.H.
References LoggerStreamBuf::m_vector, and LoggerStreamBuf::mutex.
int m_priority [private] |
Definition at line 271 of file Logger.H.
Referenced by LoggerStreamBuf::LoggerStreamBuf(), and LoggerStreamBuf::sync().
std::string m_buffer [private] |
Definition at line 272 of file Logger.H.
Referenced by LoggerStreamBuf::LoggerStreamBuf(), and LoggerStreamBuf::sync().
std::vector<char> m_vector [private] |
Definition at line 273 of file Logger.H.
Referenced by LoggerStreamBuf::overflow(), LoggerStreamBuf::sync(), and LoggerStreamBuf::xsputn().
pthread_mutex_t mutex [private] |
Definition at line 276 of file Logger.H.
Referenced by LoggerStreamBuf::LoggerStreamBuf(), LoggerStreamBuf::overflow(), LoggerStreamBuf::sync(), and LoggerStreamBuf::xsputn().