18 #ifndef _LOG4CXX_APPENDER_H 19 #define _LOG4CXX_APPENDER_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 27 #include <log4cxx/spi/optionhandler.h> 28 #include <log4cxx/helpers/objectptr.h> 29 #include <log4cxx/helpers/object.h> 39 typedef helpers::ObjectPtrT<LoggingEvent> LoggingEventPtr;
42 typedef helpers::ObjectPtrT<Filter> FilterPtr;
60 DECLARE_ABSTRACT_LOG4CXX_OBJECT(
Appender)
80 virtual void clearFilters() = 0;
87 virtual void close() = 0;
102 virtual LogString getName()
const = 0;
108 virtual void setLayout(
const LayoutPtr& layout) = 0;
113 virtual LayoutPtr getLayout()
const = 0;
120 virtual void setName(
const LogString& name) = 0;
136 virtual bool requiresLayout()
const = 0;
144 #if defined(_MSC_VER) 145 #pragma warning ( pop ) 148 #endif //_LOG4CXX_APPENDER_H Implement this interface for your own strategies for outputting log statements.
Definition: appender.h:56
A string based interface to configure package components.
Definition: optionhandler.h:35
Definition: appender.h:33