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

Namespace filter, used to filter log entries with a given namespace. More...

#include <error/LogCustomizableFilter.h>

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

Public Member Functions

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

Public Attributes

std::string ns
 

Detailed Description

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

Namespace filter, used to filter log entries with a given namespace.

Constructor & Destructor Documentation

◆ Namespace()

Namespace ( const std::string &  iNS)
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

◆ ns

std::string ns

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