18#ifndef _LOG4CXX_SPI_APPENDER_ATTACHABLE_H_
19#define _LOG4CXX_SPI_APPENDER_ATTACHABLE_H_
75#if 15 < LOG4CXX_ABI_VERSION
85 virtual void replaceAppenders(
const AppenderList& newList) = 0;
96#if 15 < LOG4CXX_ABI_VERSION
97#define LOG4CXX_16_VIRTUAL_SPECIFIER override
99#define LOG4CXX_16_VIRTUAL_SPECIFIER
base class for java-like objects.
Definition object.h:106
This Interface is for attaching Appenders to objects.
Definition appenderattachable.h:33
virtual void removeAppender(const AppenderPtr appender)=0
Remove the appender passed as parameter from the list of appenders.
virtual bool isAttached(const AppenderPtr appender) const =0
Returns true if the specified appender is in list of attached appenders, false otherwise.
virtual AppenderList getAllAppenders() const =0
Get all previously added appenders as an AppenderList.
virtual void removeAllAppenders()=0
Remove all previously added appenders.
virtual ~AppenderAttachable()
Definition appenderattachable.h:89
virtual AppenderPtr getAppender(const LogString &name) const =0
Get an appender by name.
virtual void addAppender(const AppenderPtr newAppender)=0
Add an appender.
LOG4CXX_PTR_DEF(LoggerRepository)
std::basic_string< logchar > LogString
Definition logstring.h:60
std::shared_ptr< Appender > AppenderPtr
Definition basicconfigurator.h:29
#define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition object.h:39