MIRA
Public Member Functions | List of all members
LogCustomizableFilter::CustomFilterBase Class Referenceabstract

Abstract base class for custom filters. More...

#include <error/LogCustomizableFilter.h>

Inheritance diagram for LogCustomizableFilter::CustomFilterBase:
Inheritance graph
[legend]

Public Member Functions

virtual ~CustomFilterBase ()
 
virtual bool filter (const LogRecord &record)=0
 Called by LogCustomizableFilter whenever a new log entry is getting filtered. More...
 

Detailed Description

Abstract base class for custom filters.

Constructor & Destructor Documentation

◆ ~CustomFilterBase()

virtual ~CustomFilterBase ( )
inlinevirtual

Member Function Documentation

◆ filter()

virtual bool filter ( const LogRecord record)
pure virtual

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.

Implemented in LogCustomizableFilter::OrOperator< F1, F2 >, LogCustomizableFilter::AndOperator< F1, F2 >, LogCustomizableFilter::Thread< F >, LogCustomizableFilter::Severity< F >, LogCustomizableFilter::Namespace< F >, and LogCustomizableFilter::Class< F >.


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