10 #ifndef _LOG4CPP_FILTER_HH
11 #define _LOG4CPP_FILTER_HH
52 typedef enum { DENY = -1,
71 virtual void setChainedFilter(
Filter* filter);
78 virtual Filter* getChainedFilter();
84 virtual Filter* getEndOfChain();
91 virtual void appendChainedFilter(
Filter* filter);
110 virtual Decision _decide(
const LoggingEvent& event) = 0;
119 #endif // _LOG4CPP_FILTER_HH
Users should extend this class to implement customized logging event filtering.
Definition: Filter.hh:49
class LOG4CPP_EXPORT Filter
Definition: Appender.hh:27
#define LOG4CPP_EXPORT
Definition: Export.hh:19
The top level namespace for all 'Log for C++' types and classes.
Definition: AbortAppender.hh:16
The internal representation of logging events.
Definition: LoggingEvent.hh:32