18 #ifndef _LOG4CXX_FILTER_EXPRESSIONFILTER_H 19 #define _LOG4CXX_FILTER_EXPRESSIONFILTER_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 27 #include <log4cxx/spi/filter.h> 34 typedef helpers::ObjectPtrT < Rule > RulePtr;
88 bool convertInFixToPostFix;
96 BEGIN_LOG4CXX_CAST_MAP()
98 END_LOG4CXX_CAST_MAP()
105 void setExpression(
const LogString& expression);
107 LogString getExpression()
const;
109 void setConvertInFixToPostFix(
bool convertInFixToPostFix);
111 bool getConvertInFixToPostFix()
const;
113 void setAcceptOnMatch(
bool acceptOnMatch);
115 bool getAcceptOnMatch()
const;
125 #if defined(_MSC_VER) 126 #pragma warning ( pop ) FilterDecision
Definition: filter.h:91
A filter supporting complex expressions - supports both infix and postfix expressions (infix expressi...
Definition: expressionfilter.h:84
Definition: appender.h:33
Users should extend this class to implement customized logging event filtering.
Definition: filter.h:69