MIRA
Public Member Functions | List of all members
LogCustomizableFilter::AndOperator< F1, F2 > Class Template Reference

Operator class used to combine two custom filters by the & operator. More...

#include <error/LogCustomizableFilter.h>

Inheritance diagram for LogCustomizableFilter::AndOperator< F1, F2 >:
Inheritance graph
[legend]

Public Member Functions

 AndOperator (const F1 &f1, const F2 &f2)
 
virtual bool filter (const LogRecord &record)
 Called by LogCustomizableFilter whenever a new log entry is getting filtered. More...
 

Detailed Description

template<typename F1, typename F2>
class mira::LogCustomizableFilter::AndOperator< F1, F2 >

Operator class used to combine two custom filters by the & operator.

Constructor & Destructor Documentation

◆ AndOperator()

AndOperator ( const F1 &  f1,
const F2 &  f2 
)
inline

Member Function Documentation

◆ filter()

virtual bool filter ( const LogRecord record)
inlinevirtual

Called by LogCustomizableFilter whenever a new log entry is getting filtered.

Return false to filter out the log entry.

Parameters
recordThe log entry
Returns
false if filtered out, true if passed.

Implements LogCustomizableFilter::CustomFilterBase.


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