17#ifndef _LOG4CXX_FILTER_MAPFILTER_H
18#define _LOG4CXX_FILTER_MAPFILTER_H
41class LOG4CXX_EXPORT
MapFilter:
public LOG4CXX_NS::spi::Filter
43 typedef std::map < LogString, LogString > KeyVals;
46 struct MapFilterPrivate;
A Filter that operates on the current thread's MDC map.
Definition mapfilter.h:42
bool getAcceptOnMatch() const
void setKeyValue(const LogString &strKey, const LogString &strValue)
const LogString & getValue(const LogString &strKey) const
FilterDecision decide(const spi::LoggingEventPtr &event) const override
Returns NEUTRAL is there is no string match.
void setMustMatchAll(bool mustMatchAll1)
void setOption(const LogString &option, const LogString &value) override
Set option to value.
void setAcceptOnMatch(bool acceptOnMatch1)
bool getMustMatchAll() const
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