18 #ifndef _LOG4CXX_APPENDER_SKELETON_H 19 #define _LOG4CXX_APPENDER_SKELETON_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 77 mutable log4cxx::shared_mutex
mutex;
97 AppenderSkeleton(const
LayoutPtr& layout);
109 virtual
void activateOptions(
log4cxx::helpers::Pool& ) {}
181 bool isAsSevereAsThreshold(
const LevelPtr& level)
const;
204 this->layout = layout1;
212 this->name.assign(name1);
224 void setThreshold(
const LevelPtr& threshold);
229 #if defined(_MSC_VER) 230 #pragma warning ( pop ) 234 #endif //_LOG4CXX_APPENDER_SKELETON_H LevelPtr threshold
There is no level threshold filtering by default.
Definition: appenderskeleton.h:57
#define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition: object.h:26
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:148
bool closed
Is this appender closed?
Definition: appenderskeleton.h:74
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:142
Implementation base class for all appenders.
Definition: appenderskeleton.h:43
std::shared_ptr< Level > LevelPtr
Definition: optionconverter.h:27
log4cxx::shared_mutex mutex
Definition: appenderskeleton.h:77
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:136
LogString name
Appenders are named.
Definition: appenderskeleton.h:53
spi::ErrorHandlerPtr errorHandler
It is assumed and enforced that errorHandler is never null.
Definition: appenderskeleton.h:62
const spi::ErrorHandlerPtr & getErrorHandler() const
Return the currently set spi::ErrorHandler for this Appender.
Definition: appenderskeleton.h:127
void setLayout(const LayoutPtr &layout1)
Set the layout for this appender.
Definition: appenderskeleton.h:202
LayoutPtr layout
The layout variable does not need to be set if the appender implementation has its own layout...
Definition: appenderskeleton.h:50
void setName(const LogString &name1)
Set the name of this Appender.
Definition: appenderskeleton.h:210
spi::FilterPtr headFilter
The first filter in the filter chain.
Definition: appenderskeleton.h:66
base class for java-like objects.
Definition: object.h:101
spi::FilterPtr tailFilter
The last filter in the filter chain.
Definition: appenderskeleton.h:69
LogString getName() const
Returns the name of this Appender.
Definition: appenderskeleton.h:162
std::shared_ptr< Layout > LayoutPtr
Definition: appender.h:47
Implement this interface for your own strategies for outputting log statements.
Definition: appender.h:55
std::shared_ptr< ErrorHandler > ErrorHandlerPtr
Definition: appender.h:43
LayoutPtr getLayout() const
Returns the layout of this appender.
Definition: appenderskeleton.h:153
const LevelPtr & getThreshold() const
Returns this appenders threshold level.
Definition: appenderskeleton.h:171
std::shared_ptr< Filter > FilterPtr
Definition: appender.h:40
spi::FilterPtr getFilter() const
Returns the head Filter.
Definition: appenderskeleton.h:135
log4cxx::helpers::Pool pool
Definition: appenderskeleton.h:76
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:66
const spi::FilterPtr & getFirstFilter() const
Return the first filter in the filter chain for this Appender.
Definition: appenderskeleton.h:145