EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Logging::DefaultFilterPolicy Exception Referencefinal

default filter policy for debug messages More...

#include <acts/blob/sPHENIX/Core/include/Acts/Utilities/Logger.hpp>

+ Inheritance diagram for Acts::Logging::DefaultFilterPolicy:
+ Collaboration diagram for Acts::Logging::DefaultFilterPolicy:

Public Member Functions

 DefaultFilterPolicy (const Level &lvl)
 constructor
 
 ~DefaultFilterPolicy () override=default
 virtual default destructor
 
bool doPrint (const Level &lvl) const override
 decide whether a debug message should be processed
 
- Public Member Functions inherited from Acts::Logging::OutputFilterPolicy
virtual ~OutputFilterPolicy ()=default
 virtual default destructor
 

Private Attributes

Level m_level
 threshold debug level for messages to be processed
 

Detailed Description

default filter policy for debug messages

All debug messages with a debug level equal or larger to the specified threshold level are processed.

Definition at line 261 of file Logger.hpp.

View newest version in sPHENIX GitHub at line 261 of file Logger.hpp

Constructor & Destructor Documentation

Acts::Logging::DefaultFilterPolicy::DefaultFilterPolicy ( const Level lvl)
inlineexplicit

constructor

Parameters
[in]lvlthreshold debug level

Definition at line 266 of file Logger.hpp.

View newest version in sPHENIX GitHub at line 266 of file Logger.hpp

Acts::Logging::DefaultFilterPolicy::~DefaultFilterPolicy ( )
overridedefault

virtual default destructor

Member Function Documentation

bool Acts::Logging::DefaultFilterPolicy::doPrint ( const Level lvl) const
inlineoverridevirtual

decide whether a debug message should be processed

Parameters
[in]lvldebug level of debug message
Returns
true if lvl >= m_level, otherwise false

Implements Acts::Logging::OutputFilterPolicy.

Definition at line 276 of file Logger.hpp.

View newest version in sPHENIX GitHub at line 276 of file Logger.hpp

References m_level.

Member Data Documentation

Level Acts::Logging::DefaultFilterPolicy::m_level
private

threshold debug level for messages to be processed

Definition at line 280 of file Logger.hpp.

View newest version in sPHENIX GitHub at line 280 of file Logger.hpp

Referenced by doPrint().


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