18 #ifndef _LOG4CXX_FILTER_LOGGER_MATCH_FILTER_H
19 #define _LOG4CXX_FILTER_LOGGER_MATCH_FILTER_H
22 #pragma warning ( push )
23 #pragma warning ( disable: 4231 4251 4275 4786 )
73 void setLoggerToMatch(const
LogString& levelToMatch);
77 inline
void setAcceptOnMatch(
bool acceptOnMatch1)
79 this->acceptOnMatch = acceptOnMatch1;
104 #if defined(_MSC_VER)
105 #pragma warning ( pop )
This is a very simple filter based on logger name matching.
Definition: loggermatchfilter.h:52
bool getAcceptOnMatch() const
Definition: loggermatchfilter.h:82
spi::Filter BASE_CLASS
Definition: loggermatchfilter.h:58
FilterDecision decide(const spi::LoggingEventPtr &event) const
Return the decision of this filter.
Users should extend this class to implement customized logging event filtering.
Definition: filter.h:70
FilterDecision
Definition: filter.h:88
LOG4CXX_PTR_DEF(AndFilter)
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
Definition: appender.h:33
std::basic_string< logchar > LogString
Definition: logstring.h:66
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:148
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:142
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:154
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:136