18#ifndef _LOG4CXX_FILTER_LEVEL_MATCH_FILTER_H
19#define _LOG4CXX_FILTER_LEVEL_MATCH_FILTER_H
45 struct LevelMatchFilterPrivate;
This is a very simple filter based on level matching.
Definition levelmatchfilter.h:43
FilterDecision decide(const spi::LoggingEventPtr &event) const override
Return the decision of this filter.
spi::Filter BASE_CLASS
Definition levelmatchfilter.h:48
void setAcceptOnMatch(bool acceptOnMatch1)
void setOption(const LogString &option, const LogString &value) override
Set option to value.
void setLevelToMatch(const LogString &levelToMatch)
bool getAcceptOnMatch() const
LogString getLevelToMatch() const
Users should extend this class to implement customized logging event filtering.
Definition filter.h:68
FilterDecision
Definition filter.h:87
LOG4CXX_PTR_DEF(AndFilter)
std::basic_string< logchar > LogString
Definition logstring.h:60
#define LOG4CXX_CAST_ENTRY(Interface)
Definition object.h:158
#define END_LOG4CXX_CAST_MAP()
Definition object.h:152
#define DECLARE_LOG4CXX_OBJECT(object)
Definition object.h:43
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition object.h:164
#define BEGIN_LOG4CXX_CAST_MAP()
Definition object.h:146