18 #ifndef _LOG4CXX_APPENDER_H 19 #define _LOG4CXX_APPENDER_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 41 typedef std::shared_ptr<Filter>
FilterPtr;
48 typedef std::shared_ptr<Layout>
LayoutPtr;
81 virtual void clearFilters() = 0;
88 virtual void close() = 0;
109 virtual void setLayout(
const LayoutPtr& layout) = 0;
114 virtual LayoutPtr getLayout()
const = 0;
121 virtual void setName(
const LogString& name) = 0;
137 virtual bool requiresLayout()
const = 0;
145 #if defined(_MSC_VER) 146 #pragma warning ( pop ) 149 #endif //_LOG4CXX_APPENDER_H #define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition: object.h:26
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
The internal representation of logging events.
Definition: loggingevent.h:53
Extend this abstract class to create your own log layout format.
Definition: layout.h:37
std::shared_ptr< Layout > LayoutPtr
Definition: appender.h:47
std::shared_ptr< Appender > AppenderPtr
Definition: basicconfigurator.h:28
Implement this interface for your own strategies for outputting log statements.
Definition: appender.h:55
LOG4CXX_LIST_DEF(HierarchyEventListenerList, HierarchyEventListenerPtr)
std::shared_ptr< ErrorHandler > ErrorHandlerPtr
Definition: appender.h:43
std::shared_ptr< Filter > FilterPtr
Definition: appender.h:40
A string based interface to configure package components.
Definition: optionhandler.h:34
LOG4CXX_PTR_DEF(LoggerRepository)
Appenders may delegate their error handling to ErrorHandlers.
Definition: errorhandler.h:64
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:66
Users should extend this class to implement customized logging event filtering.
Definition: filter.h:68