18#ifndef _LOG4CXX_FILTER_STRING_MATCH_FILTER_H
19#define _LOG4CXX_FILTER_STRING_MATCH_FILTER_H
51 struct StringMatchFilterPrivate;
This is a very simple filter based on string matching.
Definition stringmatchfilter.h:49
void setStringToMatch(const LogString &stringToMatch1)
FilterDecision decide(const spi::LoggingEventPtr &event) const override
Returns NEUTRAL is there is no string match.
void setOption(const LogString &option, const LogString &value) override
Set option to value.
bool getAcceptOnMatch() const
spi::Filter BASE_CLASS
Definition stringmatchfilter.h:54
const LogString & getStringToMatch() const
void setAcceptOnMatch(bool acceptOnMatch1)
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