|
Apache Log4cxx Version 1.1.0
|
A Filter that operates on a Map and can be used like in the following example: More...
#include <mapfilter.h>
Additional Inherited Members | |
Public Types inherited from log4cxx::spi::Filter | |
| enum | FilterDecision { DENY = -1 , NEUTRAL = 0 , ACCEPT = 1 } |
A Filter that operates on a Map and can be used like in the following example:
<filter class="MapFilter">
<param name="user.ip" value="127.0.0.1" />
<param name="user.name" value="test2" />
<param name="Operator" value="AND" />
<param name="AcceptOnMatch" value="false" />
</filter>
| log4cxx::filter::MapFilter::MapFilter | ( | ) |
| log4cxx::filter::MapFilter::~MapFilter | ( | ) |
|
overridevirtual |
Returns NEUTRAL is there is no string match.
Implements log4cxx::spi::Filter.
| bool log4cxx::filter::MapFilter::getAcceptOnMatch | ( | ) | const |
| bool log4cxx::filter::MapFilter::getMustMatchAll | ( | ) | const |
| void log4cxx::filter::MapFilter::setKeyValue | ( | const LogString & | strKey, |
| const LogString & | strValue ) |
|
overridevirtual |
Set options.
Reimplemented from log4cxx::spi::Filter.