Fawkes API  Fawkes Development Version
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

Constructor & Destructor Documentation

XabslLoggingErrorHandler::XabslLoggingErrorHandler ( fawkes::Logger logger)

Constructor.

Parameters:
loggerFawkes logger

Definition at line 40 of file xabsl_tools.cpp.


Member Function Documentation

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

Print error message.

Parameters:
texttext 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:
texttext 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: