25 #ifndef LOG4CPLUS_SPI_FILTER_HEADER_ 26 #define LOG4CPLUS_SPI_FILTER_HEADER_ 30 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE) 66 class InternalLoggingEvent;
75 const InternalLoggingEvent& event);
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.
The internal representation of logging events.
Users should extend this class to implement customized logging event filtering.
LOG4CPLUS_EXPORT FilterResult checkFilter(const Filter *filter, const InternalLoggingEvent &event)
This method is used to filter an InternalLoggingEvent.
helpers::SharedObjectPtr< Filter > FilterPtr
#define LOG4CPLUS_PRIVATE
This filter is neutral with respect to the log event; the remaining filters, if if any,...
std::basic_string< tchar > tstring
FilterPtr next
Points to the next filter in the filter chain.
This header defines the LogLevel type.
This is a very simple filter based on LogLevel matching.
The log event must be logged immediately without consulting with the remaining filters,...
int LogLevel
Defines the minimum set of priorities recognized by the system, that is FATAL_LOG_LEVEL,...
This is a very simple filter based on string matching.
std::function< FilterResult(const InternalLoggingEvent &)> Function
The log event must be dropped immediately without consulting with the remaining filters,...
This filter allows using std::function<FilterResult(const InternalLoggingEvent &)>.