Atoms Crowd  4.1.0
AtomsUtils::LogType Class Reference

Log type class. More...

#include <Logger.h>

Public Types

enum  MessageType { kINFO, kWARNING, kERROR, kCOMMAND }
 Message type.
 

Public Member Functions

 LogType ()
 Constructor.
 
virtual ~LogType ()
 Destructor.
 
void flushMessage (MessageType mType, const std::string &msg)
 flush message
 
virtual void info (const std::string &msg)
 Info log function.
 
virtual void warning (const std::string &msg)
 Warning log message.
 
virtual void error (const std::string &msg)
 Error log message.
 
virtual void cmd (const std::string &msg)
 Cmd log message.
 

Detailed Description

Log type class.

Derive this class and implement the info, warning and error virtual function to redirect the logger output. By default this uses the standard output and error. The logger is thread safe.


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