24 #ifndef LOG4CPLUS_SPI_FILTER_HEADER_ 25 #define LOG4CPLUS_SPI_FILTER_HEADER_ 27 #include "dcmtk/oflog/config.h" 103 void appendFilter(FilterPtr filter);
bool acceptOnMatch
Do we return ACCEPT when a match occurs.
This is a very simple filter based on LogLevel matching, which can be used to reject messages with Lo...
This filter drops all logging events.
bool acceptOnMatch
Do we return ACCEPT when a match occurs.
The internal representation of logging events.
Users should extend this class to implement customized logging event filtering.
The log event must be logged immediately without consulting with the remaining filters, if any, in the chain.
LOG4CPLUS_EXPORT FilterResult checkFilter(const Filter *filter, const InternalLoggingEvent &event)
This method is used to filter an InternalLoggingEvent.
This filter is neutral with respect to the log event; the remaining filters, if if any...
bool acceptOnMatch
Do we return ACCEPT when a match occurs.
int LogLevel
Defines the minimum set of priorities recognized by the system, that is FATAL_LOG_LEVEL, ERROR_LOG_LEVEL, WARN_LOG_LEVEL, INFO_LOG_LEVEL, DEBUG_LOG_LEVEL, and TRACE_LOG_LEVEL.
FilterPtr next
Points to the next filter in the filter chain.
This is a very simple filter based on LogLevel matching.
The log event must be dropped immediately without consulting with the remaining filters, if any, in the chain.
a simple string class that implements a subset of std::string.
This is a very simple filter based on string matching.