24 #ifndef LOG4CPLUS_HELPERS_APPENDER_ATTACHABLE_IMPL_HEADER_
25 #define LOG4CPLUS_HELPERS_APPENDER_ATTACHABLE_IMPL_HEADER_
29 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
This Interface is for attaching Appenders to objects.
ListType appenderList
Array of appenders.
virtual void removeAllAppenders()
Remove all previously added appenders.
thread::Mutex appender_list_mutex
virtual void removeAppender(const log4cplus::tstring &name)
Remove the appender with the name passed as parameter from the list of appenders.
int appendLoopOnAppenders(const spi::InternalLoggingEvent &event) const
Call the doAppend method on all attached appenders.
virtual SharedAppenderPtr getAppender(const log4cplus::tstring &name)
Look for an attached appender named as name.
virtual ~AppenderAttachableImpl()
std::vector< SharedAppenderPtr > ListType
virtual void addAppender(SharedAppenderPtr newAppender)
Add an appender.
virtual SharedAppenderPtrList getAllAppenders()
Get all previously added appenders as an vectory.
virtual void removeAppender(SharedAppenderPtr appender)
Remove the appender passed as parameter from the list of appenders.
This Interface is for attaching Appenders to objects.
The internal representation of logging events.
std::basic_string< tchar > tstring
std::vector< log4cplus::SharedAppenderPtr > SharedAppenderPtrList