18 #ifndef _LOG4CXX_SPI_APPENDER_ATTACHABLE_H_ 19 #define _LOG4CXX_SPI_APPENDER_ATTACHABLE_H_ 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 47 virtual void addAppender(
const AppenderPtr newAppender) = 0;
52 virtual AppenderList getAllAppenders()
const = 0;
63 virtual bool isAttached(
const AppenderPtr appender)
const = 0;
68 virtual void removeAllAppenders() = 0;
73 virtual void removeAppender(
const AppenderPtr appender) = 0;
79 virtual void removeAppender(
const LogString& name) = 0;
90 #pragma warning ( pop ) 93 #endif //_LOG4CXX_SPI_APPENDER_ATTACHABLE_H_ #define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition: object.h:26
This Interface is for attaching Appenders to objects.
Definition: appenderattachable.h:38
base class for java-like objects.
Definition: object.h:101
virtual ~AppenderAttachable()
Definition: appenderattachable.h:82
std::shared_ptr< Appender > AppenderPtr
Definition: basicconfigurator.h:28
LOG4CXX_PTR_DEF(LoggerRepository)
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:66