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

ThreadID filter, used to filter log entries with a given thread id. More...

#include <error/LogCustomizableFilter.h>

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

Public Member Functions

 Thread (ThreadID iThreadID)
 
virtual bool filter (const LogRecord &record)
 Called by LogCustomizableFilter whenever a new log entry is getting filtered. More...
 

Public Attributes

ThreadID threadID
 

Detailed Description

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

ThreadID filter, used to filter log entries with a given thread id.

Constructor & Destructor Documentation

◆ Thread()

Thread ( ThreadID  iThreadID)
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

◆ threadID

ThreadID threadID

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