log4cplus  2.1.0
Public Member Functions | List of all members
log4cplus::spi::AppenderAttachable Class Referenceabstract

This Interface is for attaching Appenders to objects. More...

#include <appenderattachable.h>

Inheritance diagram for log4cplus::spi::AppenderAttachable:
[legend]

Public Member Functions

virtual void addAppender (SharedAppenderPtr newAppender)=0
 Add an appender. More...
 
virtual SharedAppenderPtrList getAllAppenders ()=0
 Get all previously added appenders as an Enumeration. More...
 
virtual SharedAppenderPtr getAppender (const log4cplus::tstring &name)=0
 Get an appender by name. More...
 
virtual void removeAllAppenders ()=0
 Remove all previously added appenders. More...
 
virtual void removeAppender (SharedAppenderPtr appender)=0
 Remove the appender passed as parameter from the list of appenders. More...
 
virtual void removeAppender (const log4cplus::tstring &name)=0
 Remove the appender with the name passed as parameter from the list of appenders. More...
 
virtual ~AppenderAttachable ()=0
 

Detailed Description

This Interface is for attaching Appenders to objects.

Definition at line 47 of file appenderattachable.h.

Constructor & Destructor Documentation

◆ ~AppenderAttachable()

virtual log4cplus::spi::AppenderAttachable::~AppenderAttachable ( )
pure virtual

Member Function Documentation

◆ addAppender()

virtual void log4cplus::spi::AppenderAttachable::addAppender ( SharedAppenderPtr  newAppender)
pure virtual

Add an appender.

Implemented in log4cplus::Logger, and log4cplus::helpers::AppenderAttachableImpl.

◆ getAllAppenders()

virtual SharedAppenderPtrList log4cplus::spi::AppenderAttachable::getAllAppenders ( )
pure virtual

Get all previously added appenders as an Enumeration.

Implemented in log4cplus::Logger, and log4cplus::helpers::AppenderAttachableImpl.

◆ getAppender()

virtual SharedAppenderPtr log4cplus::spi::AppenderAttachable::getAppender ( const log4cplus::tstring name)
pure virtual

Get an appender by name.

Implemented in log4cplus::Logger, and log4cplus::helpers::AppenderAttachableImpl.

◆ removeAllAppenders()

virtual void log4cplus::spi::AppenderAttachable::removeAllAppenders ( )
pure virtual

Remove all previously added appenders.

Implemented in log4cplus::Logger, and log4cplus::helpers::AppenderAttachableImpl.

◆ removeAppender() [1/2]

virtual void log4cplus::spi::AppenderAttachable::removeAppender ( const log4cplus::tstring name)
pure virtual

Remove the appender with the name passed as parameter from the list of appenders.

Implemented in log4cplus::Logger, and log4cplus::helpers::AppenderAttachableImpl.

◆ removeAppender() [2/2]

virtual void log4cplus::spi::AppenderAttachable::removeAppender ( SharedAppenderPtr  appender)
pure virtual

Remove the appender passed as parameter from the list of appenders.

Implemented in log4cplus::Logger, and log4cplus::helpers::AppenderAttachableImpl.


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