MIRA
Public Member Functions | Public Attributes | List of all members
LogCustomizableFilter::Severity< F > Class Template Reference

Severity filter, used to filter log entries with a given severity level. More...

#include <error/LogCustomizableFilter.h>

Inheritance diagram for LogCustomizableFilter::Severity< F >:
Inheritance graph
[legend]

Public Member Functions

 Severity (SeverityLevel iLevel)
 
virtual bool filter (const LogRecord &record)
 Called by LogCustomizableFilter whenever a new log entry is getting filtered. More...
 

Public Attributes

SeverityLevel level
 

Detailed Description

template<LogCustomizableFilter::CompareFlags F = LogCustomizableFilter::LESS_EQUAL>
class mira::LogCustomizableFilter::Severity< F >

Severity filter, used to filter log entries with a given severity level.

Constructor & Destructor Documentation

◆ Severity()

Severity ( SeverityLevel  iLevel)
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.

Member Data Documentation

◆ level


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