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

Class filter, used to filter log entries with a given class name. More...

#include <error/LogCustomizableFilter.h>

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

Public Member Functions

 Class (const std::string &iClassName)
 
virtual bool filter (const LogRecord &record)
 Called by LogCustomizableFilter whenever a new log entry is getting filtered. More...
 

Public Attributes

std::string className
 

Detailed Description

template<LogCustomizableFilter::CompareFlags F = LogCustomizableFilter::EQUAL>
class mira::LogCustomizableFilter::Class< F >

Class filter, used to filter log entries with a given class name.

Constructor & Destructor Documentation

◆ Class()

Class ( const std::string &  iClassName)
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

◆ className

std::string className

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