18 #ifndef _LOG4CXX_FILTER_LEVEL_MATCH_FILTER_H 19 #define _LOG4CXX_FILTER_LEVEL_MATCH_FILTER_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 68 virtual
void setOption(const
LogString& option,
71 void setLevelToMatch(const
LogString& levelToMatch);
75 inline
void setAcceptOnMatch(
bool acceptOnMatch1)
77 this->acceptOnMatch = acceptOnMatch1;
102 #if defined(_MSC_VER) 103 #pragma warning ( pop ) 106 #endif // _LOG4CXX_FILTER_LEVEL_MATCH_FILTER_H #define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:148
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:142
std::shared_ptr< Level > LevelPtr
Definition: optionconverter.h:27
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:136
LOG4CXX_PTR_DEF(AndFilter)
FilterDecision
Definition: filter.h:87
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
spi::Filter BASE_CLASS
Definition: levelmatchfilter.h:56
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:154
This is a very simple filter based on level matching.
Definition: levelmatchfilter.h:49
bool getAcceptOnMatch() const
Definition: levelmatchfilter.h:80
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