Public Member Functions | Private Attributes
CLogStream Class Reference

#include <Log.h>

Inheritance diagram for CLogStream:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 92 of file Log.h.


Constructor & Destructor Documentation

CLogStream::CLogStream ( std::stringbuf *  buffer) [inline]

Definition at line 98 of file Log.h.


Member Function Documentation

virtual void CLogStream::enableConsoleOutput ( bool  bEnabled) [inline, virtual]

Reimplemented in CStdLogStream.

Definition at line 103 of file Log.h.

virtual FILE* CLogStream::enableFileOutput ( bool  bEnabled,
const std::string &  filename = "" 
) [inline, virtual]

Reimplemented in CStdLogStream.

Definition at line 106 of file Log.h.

virtual void CLogStream::enableTimeStamping ( bool  enabled) [inline, virtual]

Reimplemented in CStdLogStream.

Definition at line 108 of file Log.h.

virtual void CLogStream::flushFileOutput ( ) [inline, virtual]

Reimplemented in CStdLogStream.

Definition at line 107 of file Log.h.

ELogLevel CLogStream::getLevel ( ) const [inline]

Definition at line 100 of file Log.h.

virtual std::string& CLogStream::headerText ( ) [pure virtual]

Implemented in CStdLogStream.

virtual void CLogStream::redirectConsoleOutput ( FILE *  file) [inline, virtual]

Definition at line 104 of file Log.h.

virtual void CLogStream::setHeaderColor ( int  HeaderColor) [inline, virtual]

Reimplemented in CStdLogStream.

Definition at line 111 of file Log.h.

virtual void CLogStream::setHeaderText ( const std::string &  HeaderText) [pure virtual]

Implemented in CStdLogStream.

void CLogStream::setLevel ( ELogLevel  level) [inline]

Definition at line 99 of file Log.h.

virtual void CLogStream::setMessageColor ( int  MessageColor) [inline, virtual]

Reimplemented in CStdLogStream.

Definition at line 112 of file Log.h.

virtual void CLogStream::setSystemHeader ( const std::string &  text) [inline, virtual]

Reimplemented in CStdLogStream.

Definition at line 101 of file Log.h.


Member Data Documentation

Definition at line 95 of file Log.h.


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


threemxl
Author(s):
autogenerated on Thu Jun 6 2019 21:10:52