OFFIS DCMTK  Version 3.6.0
Classes | Typedefs | Enumerations | Functions
filter.h File Reference

This header defines Filter and all of it's subclasses. More...

Include dependency graph for filter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  log4cplus::spi::Filter
 Users should extend this class to implement customized logging event filtering. More...
 
class  log4cplus::spi::DenyAllFilter
 This filter drops all logging events. More...
 
class  log4cplus::spi::LogLevelMatchFilter
 This is a very simple filter based on LogLevel matching. More...
 
class  log4cplus::spi::LogLevelRangeFilter
 This is a very simple filter based on LogLevel matching, which can be used to reject messages with LogLevels outside a certain range. More...
 
class  log4cplus::spi::StringMatchFilter
 This is a very simple filter based on string matching. More...
 

Typedefs

typedef helpers::SharedObjectPtr< Filter > log4cplus::spi::FilterPtr
 

Enumerations

enum  log4cplus::spi::FilterResult { log4cplus::spi::DENY, log4cplus::spi::NEUTRAL, log4cplus::spi::ACCEPT }
 

Functions

LOG4CPLUS_EXPORT FilterResult log4cplus::spi::checkFilter (const Filter *filter, const InternalLoggingEvent &event)
 This method is used to filter an InternalLoggingEvent. More...
 

Detailed Description

This header defines Filter and all of it's subclasses.

Definition in file filter.h.

Enumeration Type Documentation

Enumerator
DENY 

The log event must be dropped immediately without consulting with the remaining filters, if any, in the chain.

NEUTRAL 

This filter is neutral with respect to the log event; the remaining filters, if if any, should be consulted for a final decision.

ACCEPT 

The log event must be logged immediately without consulting with the remaining filters, if any, in the chain.

Definition at line 37 of file filter.h.

Function Documentation

LOG4CPLUS_EXPORT FilterResult log4cplus::spi::checkFilter ( const Filter filter,
const InternalLoggingEvent event 
)

This method is used to filter an InternalLoggingEvent.

Note: filter can be NULL.


Generated on Wed Dec 14 2016 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.11