Fawkes API  Fawkes Development Version
XabslLoggingErrorHandler Class Reference

Logging error handler for XABSL integration. More...

#include "xabsl_tools.h"

Inheritance diagram for XabslLoggingErrorHandler:

Public Member Functions

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

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::XabslLoggingErrorHandler ( fawkes::Logger logger)

Constructor.

Parameters
loggerFawkes logger

Definition at line 40 of file xabsl_tools.cpp.

Member Function Documentation

◆ printError()

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().

◆ printMessage()

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: