10#ifndef _LOG4CPP_FILTER_HH
11#define _LOG4CPP_FILTER_HH
67 virtual void setChainedFilter(
Filter* filter);
74 virtual Filter* getChainedFilter();
80 virtual Filter* getEndOfChain();
87 virtual void appendChainedFilter(
Filter* filter);
#define LOG4CPP_EXPORT
Definition Export.hh:26
Users should extend this class to implement customized logging event filtering.
Definition Filter.hh:49
Decision
Definition Filter.hh:51
@ DENY
Definition Filter.hh:51
@ ACCEPT
Definition Filter.hh:51
@ NEUTRAL
Definition Filter.hh:51
Filter()
Default Constructor for Filter.
Definition Filter.cpp:15
virtual Decision _decide(const LoggingEvent &event)=0
Decide whether this Filter accepts or denies the given LoggingEvent.
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