Public Member Functions | Protected Member Functions | Protected Attributes | Friends
CLog2Factory Class Reference

#include <Log2.h>

Inheritance diagram for CLog2Factory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CLog2Factory ()
virtual void enableConsoleOutput (bool bEnabled)
virtual void enableFileOutput (bool bEnabled, const std::string &filename="")
virtual void enableTimeStamping (bool bEnabled)
virtual void flushFileOutput ()
virtual ELogLevel getLevelFromString (const std::string &level)
virtual CLogStreamgetLog (const std::string &name)=0
virtual void redirectConsoleOutput (FILE *file)
virtual void setLevel (ELogLevel level)
virtual ~CLog2Factory ()

Protected Member Functions

void closeOpenFiles ()
void equalizeHeaderTexts ()
void reportOpenFile (FILE *file, CLogStream &wrnReportLog)

Protected Attributes

ELogLevel mLevel
std::map< const std::string,
CLogStream * > 
mLogs
std::vector< FILE * > mOpenFiles
bool mTimeStamping

Friends

class CLog2

Detailed Description

Definition at line 101 of file Log2.h.


Constructor & Destructor Documentation

Definition at line 172 of file Log2.h.

virtual CLog2Factory::~CLog2Factory ( ) [inline, virtual]

Definition at line 176 of file Log2.h.


Member Function Documentation

void CLog2Factory::closeOpenFiles ( ) [inline, protected]

Definition at line 162 of file Log2.h.

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

Definition at line 197 of file Log2.h.

virtual void CLog2Factory::enableFileOutput ( bool  bEnabled,
const std::string &  filename = "" 
) [inline, virtual]

Definition at line 203 of file Log2.h.

virtual void CLog2Factory::enableTimeStamping ( bool  bEnabled) [inline, virtual]

Definition at line 209 of file Log2.h.

void CLog2Factory::equalizeHeaderTexts ( ) [inline, protected]

equalizeHeaderTexts() Can be called in getLog() after creating and adding a new log to make all header texts of equal length.

Definition at line 115 of file Log2.h.

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

Definition at line 217 of file Log2.h.

virtual ELogLevel CLog2Factory::getLevelFromString ( const std::string &  level) [inline, virtual]

Definition at line 229 of file Log2.h.

virtual CLogStream& CLog2Factory::getLog ( const std::string &  name) [pure virtual]

Implemented in CStdLog2Factory.

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

Definition at line 223 of file Log2.h.

void CLog2Factory::reportOpenFile ( FILE *  file,
CLogStream wrnReportLog 
) [inline, protected]

Definition at line 153 of file Log2.h.

virtual void CLog2Factory::setLevel ( ELogLevel  level) [inline, virtual]

Definition at line 187 of file Log2.h.


Friends And Related Function Documentation

friend class CLog2 [friend]

Definition at line 103 of file Log2.h.


Member Data Documentation

Definition at line 105 of file Log2.h.

std::map<const std::string, CLogStream*> CLog2Factory::mLogs [protected]

Definition at line 107 of file Log2.h.

std::vector<FILE*> CLog2Factory::mOpenFiles [protected]

Definition at line 108 of file Log2.h.

bool CLog2Factory::mTimeStamping [protected]

Definition at line 106 of file Log2.h.


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


threemxl
Author(s):
autogenerated on Fri Aug 28 2015 13:21:09