 |
log4cplus
2.0.6
|
Go to the documentation of this file.
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);
std::basic_string< tchar > tstring
This is a very simple filter based on LogLevel matching.
helpers::SharedObjectPtr< Filter > FilterPtr
FilterPtr next
Points to the next filter in the filter chain.
@ NEUTRAL
This filter is neutral with respect to the log event; the remaining filters, if if any,...
This is a simple filter based on the key/value pair stored in MDC.
Users should extend this class to implement customized logging event filtering.
This filter drops all logging events.
The internal representation of logging events.
std::function< FilterResult(const InternalLoggingEvent &)> Function
@ ACCEPT
The log event must be logged immediately without consulting with the remaining filters,...
LOG4CPLUS_EXPORT FilterResult checkFilter(const Filter *filter, const InternalLoggingEvent &event)
This method is used to filter an InternalLoggingEvent.
This is a very simple filter based on string matching.
@ DENY
The log event must be dropped immediately without consulting with the remaining filters,...
#define LOG4CPLUS_PRIVATE
This filter allows using std::function<FilterResult(const InternalLoggingEvent &)>.
This is a very simple filter based on LogLevel matching, which can be used to reject messages with Lo...
This is a simple filter based on the string returned by event.getNDC().