Public Member Functions | Protected Member Functions | List of all members
TestFilter Class Reference
Inheritance diagram for TestFilter:
Inheritance graph
[legend]

Public Member Functions

 TestFilter ()
 
virtual ~TestFilter ()
 
- Public Member Functions inherited from log4cpp::Filter
virtual void appendChainedFilter (Filter *filter)
 
virtual Decision decide (const LoggingEvent &event)
 
 Filter ()
 
virtual FiltergetChainedFilter ()
 
virtual FiltergetEndOfChain ()
 
virtual void setChainedFilter (Filter *filter)
 
virtual ~Filter ()
 

Protected Member Functions

virtual log4cpp::Filter::Decision _decide (const log4cpp::LoggingEvent &event)
 

Additional Inherited Members

- Public Types inherited from log4cpp::Filter
enum  Decision { DENY = -1, NEUTRAL = 0, ACCEPT = 1 }
 

Detailed Description

Definition at line 4 of file testFilter.cpp.

Constructor & Destructor Documentation

TestFilter::TestFilter ( )
inline

Definition at line 6 of file testFilter.cpp.

virtual TestFilter::~TestFilter ( )
inlinevirtual

Definition at line 7 of file testFilter.cpp.

Member Function Documentation

virtual log4cpp::Filter::Decision TestFilter::_decide ( const log4cpp::LoggingEvent event)
inlineprotectedvirtual

Decide whether this Filter accepts or denies the given LoggingEvent. Actual implementation of Filter should override this method and not decide(LoggingEvent&).

Parameters
eventThe LoggingEvent to decide on.
Returns
The Decision

Implements log4cpp::Filter.

Definition at line 10 of file testFilter.cpp.


The documentation for this class was generated from the following file:


log4cpp
Author(s): Stephen Roderick, Bastiaan Bakker, Cedric Le Goater, Steve Ostlind, Marcel Harkema, Walter Stroebel, Glenn Scott and Tony Cheung
autogenerated on Sun Jun 23 2019 19:10:00