18 #ifndef _LOG4CXX_FILTER_LEVEL_RANGE_FILTER_H
19 #define _LOG4CXX_FILTER_LEVEL_RANGE_FILTER_H
89 this->levelMin = levelMin1;
105 this->levelMax = levelMax1;
121 this->acceptOnMatch = acceptOnMatch1;
129 return acceptOnMatch;
This is a very simple filter based on level matching, which can be used to reject messages with prior...
Definition: levelrangefilter.h:58
bool getAcceptOnMatch() const
Get the value of the AcceptOnMatch option.
Definition: levelrangefilter.h:127
void setLevelMax(const LevelPtr &levelMax1)
Set the LevelMax option.
Definition: levelrangefilter.h:103
const LevelPtr & getLevelMax() const
Get the value of the LevelMax option.
Definition: levelrangefilter.h:111
void setAcceptOnMatch(bool acceptOnMatch1)
Set the AcceptOnMatch option.
Definition: levelrangefilter.h:119
spi::Filter BASE_CLASS
Definition: levelrangefilter.h:69
FilterDecision decide(const spi::LoggingEventPtr &event) const
Return the decision of this filter.
const LevelPtr & getLevelMin() const
Get the value of the LevelMin option.
Definition: levelrangefilter.h:95
Users should extend this class to implement customized logging event filtering.
Definition: filter.h:70
FilterDecision
Definition: filter.h:88
LOG4CXX_PTR_DEF(AndFilter)
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
Definition: appender.h:33
std::basic_string< logchar > LogString
Definition: logstring.h:66
std::shared_ptr< Level > LevelPtr
Definition: optionconverter.h:27
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:148
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:142
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:154
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:136