#include <Log.h>
Public Member Functions | |
CLogStream (std::stringbuf *buffer) | |
virtual void | enableConsoleOutput (bool bEnabled) |
virtual FILE * | enableFileOutput (bool bEnabled, const std::string &filename="") |
virtual void | enableTimeStamping (bool enabled) |
virtual void | flushFileOutput () |
ELogLevel | getLevel () const |
virtual std::string & | headerText ()=0 |
virtual void | redirectConsoleOutput (FILE *file) |
virtual void | setHeaderColor (int HeaderColor) |
virtual void | setHeaderText (const std::string &HeaderText)=0 |
void | setLevel (ELogLevel level) |
virtual void | setMessageColor (int MessageColor) |
virtual void | setSystemHeader (const std::string &text) |
Private Attributes | |
ELogLevel | mLevel |
CLogStream::CLogStream | ( | std::stringbuf * | buffer | ) | [inline] |
virtual void CLogStream::enableConsoleOutput | ( | bool | bEnabled | ) | [inline, virtual] |
Reimplemented in CStdLogStream.
virtual FILE* CLogStream::enableFileOutput | ( | bool | bEnabled, |
const std::string & | filename = "" |
||
) | [inline, virtual] |
Reimplemented in CStdLogStream.
virtual void CLogStream::enableTimeStamping | ( | bool | enabled | ) | [inline, virtual] |
Reimplemented in CStdLogStream.
virtual void CLogStream::flushFileOutput | ( | ) | [inline, virtual] |
Reimplemented in CStdLogStream.
ELogLevel CLogStream::getLevel | ( | ) | const [inline] |
virtual std::string& CLogStream::headerText | ( | ) | [pure virtual] |
Implemented in CStdLogStream.
virtual void CLogStream::redirectConsoleOutput | ( | FILE * | file | ) | [inline, virtual] |
virtual void CLogStream::setHeaderColor | ( | int | HeaderColor | ) | [inline, virtual] |
Reimplemented in CStdLogStream.
virtual void CLogStream::setHeaderText | ( | const std::string & | HeaderText | ) | [pure virtual] |
Implemented in CStdLogStream.
void CLogStream::setLevel | ( | ELogLevel | level | ) | [inline] |
virtual void CLogStream::setMessageColor | ( | int | MessageColor | ) | [inline, virtual] |
Reimplemented in CStdLogStream.
virtual void CLogStream::setSystemHeader | ( | const std::string & | text | ) | [inline, virtual] |
Reimplemented in CStdLogStream.
ELogLevel CLogStream::mLevel [private] |