Base::ConsoleObserverStd Class Reference

The CmdConsoleObserver class This class is used by the main modules to write Console messages and logs the system con. More...

#include <ConsoleObserver.h>

Public Member Functions

 ConsoleObserverStd ()
 
const char * Name (void) override
 
void SendLog (const std::string &message, LogStyle level) override
 Used to send a Log message at the given level. More...
 
 ~ConsoleObserverStd () override
 
- Public Member Functions inherited from Base::ILogger
 ILogger ()
 
virtual const char * Name ()
 
virtual void SendLog (const std::string &msg, LogStyle level)=0
 Used to send a Log message at the given level. More...
 
virtual ~ILogger ()=0
 

Protected Attributes

bool useColorStderr
 

Additional Inherited Members

- Public Attributes inherited from Base::ILogger
bool bErr
 
bool bLog
 
bool bMsg
 
bool bWrn
 

Detailed Description

The CmdConsoleObserver class This class is used by the main modules to write Console messages and logs the system con.

Constructor & Destructor Documentation

◆ ConsoleObserverStd()

ConsoleObserverStd::ConsoleObserverStd ( )

References Base::ILogger::bLog.

◆ ~ConsoleObserverStd()

ConsoleObserverStd::~ConsoleObserverStd ( )
override

Member Function Documentation

◆ Name()

const char * Base::ConsoleObserverStd::Name ( void  )
overridevirtual

Reimplemented from Base::ILogger.

◆ SendLog()

void ConsoleObserverStd::SendLog ( const std::string &  msg,
LogStyle  level 
)
overridevirtual

Used to send a Log message at the given level.

Implements Base::ILogger.

References Base::Error, Base::Log, Base::Message, and Base::Warning.

Member Data Documentation

◆ useColorStderr

bool Base::ConsoleObserverStd::useColorStderr
protected

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