24 #ifndef LOG4CPLUS_SPI_APPENDER_ATTACHABLE_HEADER_
25 #define LOG4CPLUS_SPI_APPENDER_ATTACHABLE_HEADER_
29 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
This Interface is for attaching Appenders to objects.
virtual ~AppenderAttachable()=0
virtual void removeAllAppenders()=0
Remove all previously added appenders.
virtual SharedAppenderPtr getAppender(const log4cplus::tstring &name)=0
Get an appender by name.
virtual void addAppender(SharedAppenderPtr newAppender)=0
Add an appender.
virtual SharedAppenderPtrList getAllAppenders()=0
Get all previously added appenders as an Enumeration.
virtual void removeAppender(const log4cplus::tstring &name)=0
Remove the appender with the name passed as parameter from the list of appenders.
virtual void removeAppender(SharedAppenderPtr appender)=0
Remove the appender passed as parameter from the list of appenders.
std::basic_string< tchar > tstring
std::vector< log4cplus::SharedAppenderPtr > SharedAppenderPtrList