Public Member Functions | Static Public Member Functions | Static Public Attributes

Logger Class Reference

#include <Logger.hpp>

List of all members.

Public Member Functions

 Logger (const std::string &name)
virtual ~Logger ()
void setMode (uint8_t mode)
void debug (const std::string &msg)
void info (const std::string &msg)
void warn (const std::string &msg)
void error (const std::string &msg)
void fatal (const std::string &msg)

Static Public Member Functions

static const std::string currentDateTime ()
static double currentTimeMilliSecs ()
static double currentTimeMicroSecs ()

Static Public Attributes

static const int CONSOLE = 0x1
static const int FILE = 0x2
static const int SYNC = 0x4

Constructor & Destructor Documentation

Logger::Logger ( const std::string &  name  ) 
Logger::~Logger (  )  [virtual]

Member Function Documentation

const std::string Logger::currentDateTime (  )  [static]
double Logger::currentTimeMicroSecs (  )  [static]
double Logger::currentTimeMilliSecs (  )  [static]
void Logger::debug ( const std::string &  msg  ) 
void Logger::error ( const std::string &  msg  ) 
void Logger::fatal ( const std::string &  msg  ) 
void Logger::info ( const std::string &  msg  ) 
void Logger::setMode ( uint8_t  mode  ) 
void Logger::warn ( const std::string &  msg  ) 

Member Data Documentation

const int Logger.CONSOLE = 0x1 [static]
const int Logger.FILE = 0x2 [static]
const int Logger.SYNC = 0x4 [static]

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