IdsaAppender is an Appender that sends LoggingEvents to the IDS/A logger and reference monitor by Marc Welz. More...
#include <IdsaAppender.hh>

Public Member Functions | |
| virtual void | close () |
| Calls idsa_close() More... | |
| IdsaAppender (const std::string &name, const std::string &idsaName) | |
| Instantiate an IdsaAppender with given name and name. More... | |
| virtual bool | reopen () |
| Calls idsa_open() and idsa_close() More... | |
| virtual bool | requiresLayout () const |
| The IdsaAppender does its own Layout. More... | |
| virtual void | setLayout (Layout *layout) |
| Set the Layout for this appender. More... | |
| virtual | ~IdsaAppender () |
Public Member Functions inherited from AppenderSkeleton | |
| virtual void | doAppend (const LoggingEvent &event) |
| Log in Appender specific way. More... | |
| virtual Filter * | getFilter () |
| Get the Filter for this appender. More... | |
| virtual Priority::Value | getThreshold () |
| Get the threshold priority of this Appender. More... | |
| virtual void | setFilter (Filter *filter) |
| Set a Filter for this appender. More... | |
| virtual void | setThreshold (Priority::Value priority) |
| Set the threshold priority of this Appender. More... | |
| virtual | ~AppenderSkeleton () |
| Destructor for AppenderSkeleton. More... | |
Public Member Functions inherited from Appender | |
| const std::string & | getName () const |
| Get the name of this appender. More... | |
| virtual | ~Appender () |
| Destructor for Appender. More... | |
Protected Member Functions | |
| virtual void | _append (const LoggingEvent &event) |
| Sends a LoggingEvent to idsa. More... | |
| virtual void | open () |
| Calls idsa_open(). More... | |
Protected Member Functions inherited from AppenderSkeleton | |
| AppenderSkeleton (const std::string &name) | |
| Constructor for AppenderSkeleton. More... | |
Protected Member Functions inherited from Appender | |
| Appender (const std::string &name) | |
| Constructor for Appender. More... | |
Protected Attributes | |
| IDSA_CONNECTION * | _idsaConnection |
| const std::string | _idsaName |
Additional Inherited Members | |
Static Public Member Functions inherited from Appender | |
| static void | closeAll () |
| Call reopen() on all existing Appenders. More... | |
| static Appender * | getAppender (const std::string &name) |
| Get a pointer to an existing Appender. More... | |
| static bool | reopenAll () |
| Call reopen() on all existing Appenders. More... | |
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 |
|
protectedvirtual |
|
virtual |
Calls idsa_close()
Implements AppenderSkeleton.
|
protectedvirtual |
Calls idsa_open().
|
virtual |
Calls idsa_open() and idsa_close()
Reimplemented from AppenderSkeleton.
|
virtual |
|
virtual |
|
protected |
Definition at line 70 of file IdsaAppender.hh.
|
protected |
Definition at line 68 of file IdsaAppender.hh.