18 #ifndef _LOG4CXX_FILTER_EXPRESSIONFILTER_H 19 #define _LOG4CXX_FILTER_EXPRESSIONFILTER_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 34 typedef helpers::ObjectPtrT < Rule >
RulePtr;
88 bool convertInFixToPostFix;
105 void setExpression(
const LogString& expression);
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 ) #define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:153
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:147
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:141
FilterDecision
Definition: filter.h:87
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
A filter supporting complex expressions - supports both infix and postfix expressions (infix expressi...
Definition: expressionfilter.h:84
helpers::ObjectPtrT< Rule > RulePtr
Definition: expressionfilter.h:33
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:66
Users should extend this class to implement customized logging event filtering.
Definition: filter.h:68