28#ifndef _LOG4TANGO_APPENDER_ATTACHABLE_H
29#define _LOG4TANGO_APPENDER_ATTACHABLE_H
76 void add_appender (
Appender* appender);
93 Appender* get_appender (
const std::string& name);
99 bool is_attached (
Appender* appender);
104 void remove_all_appenders();
109 void remove_appender(
Appender* appender);
115 void remove_appender(
const std::string& name);
#define LOG4TANGO_EXPORT
Definition: Export.hh:38
Definition: AppenderAttachable.hh:59
AppenderAttachable & operator=(const AppenderAttachable &other)
AppenderMap _appenders
Appenders repository.
Definition: AppenderAttachable.hh:122
AppenderAttachable(const AppenderAttachable &other)
threading::Mutex _appendersMutex
A mutex to protect the repository against race conditions.
Definition: AppenderAttachable.hh:127
Definition: Appender.hh:46
Definition: MSThreads.hh:75
Definition: Appender.hh:40
AppenderMap::iterator AppenderMapIterator
A map of appenders iterator.
Definition: AppenderAttachable.hh:47
std::vector< Appender * > AppenderList
Define what is a list of appenders.
Definition: AppenderAttachable.hh:52
std::map< std::string, Appender * > AppenderMap
A map of appenders.
Definition: AppenderAttachable.hh:42