#include <IdsaAppender.hh>
Public Member Functions | |
virtual void | close () |
IdsaAppender (const std::string &name, const std::string &idsaName) | |
virtual bool | reopen () |
virtual bool | requiresLayout () const |
virtual void | setLayout (Layout *layout) |
virtual | ~IdsaAppender () |
Protected Member Functions | |
virtual void | _append (const LoggingEvent &event) |
virtual void | open () |
Protected Attributes | |
IDSA_CONNECTION * | _idsaConnection |
const std::string | _idsaName |
IdsaAppender is an Appender that sends LoggingEvents to the IDS/A logger and reference monitor by Marc Welz. See http://jade.cs.uct.ac.za/idsa/ for more information on IDS/A.
Definition at line 25 of file IdsaAppender.hh.
IdsaAppender::IdsaAppender | ( | const std::string & | name, |
const std::string & | idsaName | ||
) |
Instantiate an IdsaAppender with given name and name. Unlike the syslog API, idsa allows multiple connections.
name | The name of the Appender |
idsaName | The service parameter of idsa |
virtual IdsaAppender::~IdsaAppender | ( | ) | [virtual] |
virtual void IdsaAppender::_append | ( | const LoggingEvent & | event | ) | [protected, virtual] |
Sends a LoggingEvent to idsa.
event | the LoggingEvent to log. |
Implements AppenderSkeleton.
virtual void IdsaAppender::close | ( | ) | [virtual] |
Calls idsa_close()
Implements AppenderSkeleton.
virtual void IdsaAppender::open | ( | ) | [protected, virtual] |
Calls idsa_open().
virtual bool IdsaAppender::reopen | ( | ) | [virtual] |
Calls idsa_open() and idsa_close()
Reimplemented from AppenderSkeleton.
virtual bool IdsaAppender::requiresLayout | ( | ) | const [virtual] |
virtual void IdsaAppender::setLayout | ( | Layout * | layout | ) | [virtual] |
IDSA_CONNECTION* IdsaAppender::_idsaConnection [protected] |
Definition at line 70 of file IdsaAppender.hh.
const std::string IdsaAppender::_idsaName [protected] |
Definition at line 68 of file IdsaAppender.hh.