Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
log4cpp::IdsaAppender Class Reference

#include <IdsaAppender.hh>

Inheritance diagram for log4cpp::IdsaAppender:
Inheritance graph
[legend]

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 ()
 
- Public Member Functions inherited from log4cpp::AppenderSkeleton
virtual void doAppend (const LoggingEvent &event)
 
virtual FiltergetFilter ()
 
virtual Priority::Value getThreshold ()
 
virtual void setFilter (Filter *filter)
 
virtual void setThreshold (Priority::Value priority)
 
virtual ~AppenderSkeleton ()
 
- Public Member Functions inherited from log4cpp::Appender
const std::string & getName () const
 
virtual ~Appender ()
 

Protected Member Functions

virtual void _append (const LoggingEvent &event)
 
virtual void open ()
 
- Protected Member Functions inherited from log4cpp::AppenderSkeleton
 AppenderSkeleton (const std::string &name)
 
- Protected Member Functions inherited from log4cpp::Appender
 Appender (const std::string &name)
 

Protected Attributes

IDSA_CONNECTION * _idsaConnection
 
const std::string _idsaName
 

Additional Inherited Members

- Static Public Member Functions inherited from log4cpp::Appender
static void closeAll ()
 
static AppendergetAppender (const std::string &name)
 
static bool reopenAll ()
 

Detailed Description

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.

Constructor & Destructor Documentation

log4cpp::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.

Parameters
nameThe name of the Appender
idsaNameThe service parameter of idsa
virtual log4cpp::IdsaAppender::~IdsaAppender ( )
virtual

Member Function Documentation

virtual void log4cpp::IdsaAppender::_append ( const LoggingEvent event)
protectedvirtual

Sends a LoggingEvent to idsa.

Parameters
eventthe LoggingEvent to log.

Implements log4cpp::AppenderSkeleton.

virtual void log4cpp::IdsaAppender::close ( )
virtual

Calls idsa_close()

Implements log4cpp::AppenderSkeleton.

virtual void log4cpp::IdsaAppender::open ( )
protectedvirtual

Calls idsa_open().

virtual bool log4cpp::IdsaAppender::reopen ( )
virtual

Calls idsa_open() and idsa_close()

Reimplemented from log4cpp::AppenderSkeleton.

virtual bool log4cpp::IdsaAppender::requiresLayout ( ) const
virtual

The IdsaAppender does its own Layout.

Returns
false

Implements log4cpp::AppenderSkeleton.

virtual void log4cpp::IdsaAppender::setLayout ( Layout layout)
virtual

Set the Layout for this appender.

Parameters
layoutThe layout to use.

Implements log4cpp::AppenderSkeleton.

Member Data Documentation

IDSA_CONNECTION* log4cpp::IdsaAppender::_idsaConnection
protected

Definition at line 70 of file IdsaAppender.hh.

const std::string log4cpp::IdsaAppender::_idsaName
protected

Definition at line 68 of file IdsaAppender.hh.


The documentation for this class was generated from the following file:


log4cpp
Author(s): Stephen Roderick, Bastiaan Bakker, Cedric Le Goater, Steve Ostlind, Marcel Harkema, Walter Stroebel, Glenn Scott and Tony Cheung
autogenerated on Sun Jun 23 2019 19:10:00