#include <StdLog.h>
Public Member Functions | |
CStdLogStream (pthread_mutex_t *globalLogLock=NULL) | |
void | enableConsoleOutput (bool bEnabled) |
FILE * | enableFileOutput (bool bEnabled, const std::string &filename="") |
void | enableTimeStamping (bool enabled) |
void | flushFileOutput () |
std::string & | headerText () |
void | setHeaderColor (int headerColor) |
void | setHeaderText (const std::string &headerText) |
void | setMessageColor (int messageColor) |
void | setSystemHeader (const std::string &text) |
Protected Attributes | |
CStdStringbuf | mBuffer |
CStdLogStream::CStdLogStream | ( | pthread_mutex_t * | globalLogLock = NULL | ) | [inline] |
void CStdLogStream::enableConsoleOutput | ( | bool | bEnabled | ) | [inline, virtual] |
Reimplemented from CLogStream.
FILE* CStdLogStream::enableFileOutput | ( | bool | bEnabled, |
const std::string & | filename = "" |
||
) | [inline, virtual] |
Reimplemented from CLogStream.
void CStdLogStream::enableTimeStamping | ( | bool | enabled | ) | [inline, virtual] |
Reimplemented from CLogStream.
void CStdLogStream::flushFileOutput | ( | ) | [inline, virtual] |
Reimplemented from CLogStream.
std::string& CStdLogStream::headerText | ( | ) | [inline, virtual] |
Implements CLogStream.
void CStdLogStream::setHeaderColor | ( | int | headerColor | ) | [inline, virtual] |
Reimplemented from CLogStream.
void CStdLogStream::setHeaderText | ( | const std::string & | headerText | ) | [inline, virtual] |
Implements CLogStream.
void CStdLogStream::setMessageColor | ( | int | messageColor | ) | [inline, virtual] |
Reimplemented from CLogStream.
void CStdLogStream::setSystemHeader | ( | const std::string & | text | ) | [inline, virtual] |
Reimplemented from CLogStream.
CStdStringbuf CStdLogStream::mBuffer [protected] |