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