18 #ifndef _LOG4CXX_HELPERS_APPENDER_ATTACHABLE_IMPL_H 19 #define _LOG4CXX_HELPERS_APPENDER_ATTACHABLE_IMPL_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 30 #include <log4cxx/log4cxx.h> 69 virtual
void addAppender(const
AppenderPtr newAppender);
80 virtual AppenderList getAllAppenders() const;
91 virtual
bool isAttached(const
AppenderPtr appender) const;
96 virtual
void removeAllAppenders();
101 virtual
void removeAppender(const
AppenderPtr appender);
107 virtual
void removeAppender(const
LogString& name);
109 inline std::mutex& getMutex()
const 115 mutable std::mutex m_mutex;
125 #if defined(_MSC_VER) 126 #pragma warning ( pop ) 129 #endif //_LOG4CXX_HELPERS_APPENDER_ATTACHABLE_IMPL_H #define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition: object.h:26
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:148
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:142
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
Definition: appenderattachableimpl.h:44
This Interface is for attaching Appenders to objects.
Definition: appenderattachable.h:38
AppenderList appenderList
Array of appenders.
Definition: appenderattachableimpl.h:50
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:136
base class for java-like objects.
Definition: object.h:101
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