ht::log::Logger Class Reference

#include <log.h>

Inheritance diagram for ht::log::Logger:

Log4Cpp List of all members.

Public Member Functions

virtual void log (Priority level, const char *, va_list ap) const=0
virtual void log (Priority level, const std::string &str,...) const
void debug (const std::string &str,...) const
void info (const std::string &str,...) const
void warning (const std::string &str,...) const
void error (const std::string &str,...) const
void critical (const std::string &str,...) const

Detailed Description

A very simple logging interface


Member Function Documentation

virtual void ht::log::Logger::log ( Priority  level,
const char *  ,
va_list  ap 
) const [pure virtual]

log the text with the given Priority, using vasprintf() formatting

Implemented in Log4Cpp.

void Logger::log ( Priority  level,
const std::string &  str,
  ... 
) const [virtual]

log the text and the remaing arguments using sprintf()

void Logger::debug ( const std::string &  str,
  ... 
) const

Short hand for log(DEBUG, ...)

void Logger::info ( const std::string &  str,
  ... 
) const

Short hand for log(INFO, ...)

void Logger::warning ( const std::string &  str,
  ... 
) const

Short hand for log(WARNING, ...)

void Logger::error ( const std::string &  str,
  ... 
) const

Short hand for log(ERROR, ...)

void Logger::critical ( const std::string &  str,
  ... 
) const

Short hand for log(CRITICAL, ...)


The documentation for this class was generated from the following files:
Generated on Thu Jan 3 15:26:45 2008 by  doxygen 1.5.2