cxxtools::Logger Class Reference

#include <cxxtools/log/cxxtools.h>

Public Types

enum  log_level_type {
  LOG_LEVEL_FATAL = 0, LOG_LEVEL_ERROR = 100, LOG_LEVEL_WARN = 200, LOG_LEVEL_INFO = 300,
  LOG_LEVEL_DEBUG = 400, LOG_LEVEL_TRACE = 500
}

Public Member Functions

 Logger (const std::string &c, log_level_type l)
bool isEnabled (log_level_type l) const
const std::string & getCategory () const
log_level_type getLogLevel () const

Member Enumeration Documentation

Enumerator:
LOG_LEVEL_FATAL 
LOG_LEVEL_ERROR 
LOG_LEVEL_WARN 
LOG_LEVEL_INFO 
LOG_LEVEL_DEBUG 
LOG_LEVEL_TRACE 

Constructor & Destructor Documentation

cxxtools::Logger::Logger ( const std::string &  c,
log_level_type  l 
)
inline

Member Function Documentation

const std::string& cxxtools::Logger::getCategory ( ) const
inline
log_level_type cxxtools::Logger::getLogLevel ( ) const
inline
bool cxxtools::Logger::isEnabled ( log_level_type  l) const
inline

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