18 #ifndef _LOG4CXX_SPI_APPENDER_ATTACHABLE_H_
19 #define _LOG4CXX_SPI_APPENDER_ATTACHABLE_H_
46 virtual AppenderList getAllAppenders() const = 0;
57 virtual
bool isAttached(const
AppenderPtr appender) const = 0;
62 virtual
void removeAllAppenders() = 0;
73 virtual
void removeAppender(const
LogString& name) = 0;
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 ~AppenderAttachable()
Definition: appenderattachable.h:89
LOG4CXX_PTR_DEF(AppenderAttachable)
std::basic_string< logchar > LogString
Definition: logstring.h:60
std::shared_ptr< Appender > AppenderPtr
Definition: basicconfigurator.h:28
#define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition: object.h:39