XabslLoggingErrorHandler Class Reference

Logging error handler for XABSL integration. More...

#include <xabsl_tools.h>

List of all members.

Public Member Functions

 XabslLoggingErrorHandler (fawkes::Logger *logger)
 Constructor.
virtual void printError (const char *text)
 Print error message.
virtual void printMessage (const char *text)
 Print info message.


Detailed Description

Logging error handler for XABSL integration.

Simple error handler that prints errors to the Fawkes log.

Author:
Tim Niemueller

Definition at line 34 of file xabsl_tools.h.


Constructor & Destructor Documentation

XabslLoggingErrorHandler::XabslLoggingErrorHandler ( fawkes::Logger logger  ) 

Constructor.

Parameters:
logger Fawkes logger

Definition at line 40 of file xabsl_tools.cpp.


Member Function Documentation

void XabslLoggingErrorHandler::printError ( const char *  text  )  [virtual]

Print error message.

Parameters:
text text of the error message

Definition at line 50 of file xabsl_tools.cpp.

References fawkes::Logger::log_error().

void XabslLoggingErrorHandler::printMessage ( const char *  text  )  [virtual]

Print info message.

Parameters:
text text of the info message

Definition at line 60 of file xabsl_tools.cpp.

References fawkes::Logger::log_info().


The documentation for this class was generated from the following files:
Generated on Tue Feb 22 13:31:34 2011 for Fawkes API by  doxygen 1.4.7