log4cplus 2.0.8
|
This filter allows using std::function<FilterResult(const InternalLoggingEvent &)>
.
More...
#include <filter.h>
Public Types | |
typedef std::function< FilterResult(const InternalLoggingEvent &)> | Function |
Public Member Functions | |
FunctionFilter (Function) | |
virtual FilterResult | decide (const InternalLoggingEvent &) const |
Returns result returned by function . | |
![]() | |
Filter () | |
virtual | ~Filter () |
void | appendFilter (FilterPtr filter) |
Appends filter to the end of this filter chain. | |
![]() | |
void | addReference () const LOG4CPLUS_NOEXCEPT |
void | removeReference () const |
Additional Inherited Members | |
![]() | |
FilterPtr | next |
Points to the next filter in the filter chain. | |
![]() | |
thread::Mutex | access_mutex |
![]() | |
SharedObject () | |
SharedObject (const SharedObject &) | |
SharedObject (SharedObject &&) | |
virtual | ~SharedObject () |
SharedObject & | operator= (const SharedObject &) LOG4CPLUS_NOEXCEPT |
SharedObject & | operator= (SharedObject &&) LOG4CPLUS_NOEXCEPT |
This filter allows using std::function<FilterResult(const InternalLoggingEvent &)>
.
typedef std::function<FilterResult (const InternalLoggingEvent &)> log4cplus::spi::FunctionFilter::Function |
log4cplus::spi::FunctionFilter::FunctionFilter | ( | Function | ) |
|
virtual |
Returns result returned by function
.
Implements log4cplus::spi::Filter.