Public Member Functions | Private Attributes
CLog2 Class Reference

#include <Log2.h>

List of all members.

Public Member Functions

 CLog2 (const std::string &name)
void enableConsoleOutput (bool bEnabled)
void enableFileOutput (bool bEnabled, const std::string &filename="")
void enableTimeStamping (bool bEnabled)
void flushFileOutput ()
ELogLevel getLevel () const
CLogStreamgetStream ()
const std::string & name ()
CLogStreamoperator() (ELogLevel level)
CLog2operator= (const CLog2 &obj)
void setHeaderColor (int color)
void setHeaderText (const std::string &text)
void setLevel (ELogLevel level)

Private Attributes

std::string mName
CLogStreammStream

Detailed Description

Definition at line 246 of file Log2.h.


Constructor & Destructor Documentation

CLog2::CLog2 ( const std::string &  name) [inline]

Definition at line 253 of file Log2.h.


Member Function Documentation

void CLog2::enableConsoleOutput ( bool  bEnabled) [inline]

Definition at line 307 of file Log2.h.

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

Definition at line 308 of file Log2.h.

void CLog2::enableTimeStamping ( bool  bEnabled) [inline]

Definition at line 304 of file Log2.h.

void CLog2::flushFileOutput ( ) [inline]

Definition at line 309 of file Log2.h.

ELogLevel CLog2::getLevel ( ) const [inline]

Definition at line 302 of file Log2.h.

Definition at line 310 of file Log2.h.

const std::string& CLog2::name ( ) [inline]

Definition at line 300 of file Log2.h.

CLogStream& CLog2::operator() ( ELogLevel  level) [inline]

Definition at line 259 of file Log2.h.

CLog2& CLog2::operator= ( const CLog2 obj) [inline]

Definition at line 257 of file Log2.h.

void CLog2::setHeaderColor ( int  color) [inline]

Definition at line 306 of file Log2.h.

void CLog2::setHeaderText ( const std::string &  text) [inline]

Definition at line 305 of file Log2.h.

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

Definition at line 303 of file Log2.h.


Member Data Documentation

std::string CLog2::mName [private]

Definition at line 250 of file Log2.h.

Definition at line 249 of file Log2.h.


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


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