Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Logging::OutputFilterPolicy Class Referenceabstract

abstract base class for filtering debug output More...

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

+ Inheritance diagram for Acts::Logging::OutputFilterPolicy:

Public Member Functions

virtual ~OutputFilterPolicy ()=default
 virtual default destructor
 
virtual bool doPrint (const Level &lvl) const =0
 decide whether a debug message should be processed
 
virtual Level level () const =0
 
virtual std::unique_ptr
< OutputFilterPolicy
clone (Level level) const =0
 

Detailed Description

abstract base class for filtering debug output

Implementations of this interface need to define whether a debug message with a certain debug level is processed or filtered out.

Definition at line 266 of file Logger.hpp.

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

Constructor & Destructor Documentation

virtual Acts::Logging::OutputFilterPolicy::~OutputFilterPolicy ( )
virtualdefault

virtual default destructor

Member Function Documentation

virtual std::unique_ptr<OutputFilterPolicy> Acts::Logging::OutputFilterPolicy::clone ( Level  level) const
pure virtual

Make a copy of this filter policy with a new level

Parameters
levelthe new level
Returns
the new copy

Implemented in Acts::Logging::DefaultFilterPolicy.

virtual bool Acts::Logging::OutputFilterPolicy::doPrint ( const Level lvl) const
pure virtual

decide whether a debug message should be processed

Parameters
[in]lvldebug level of debug message
Returns
true of debug message should be processed, false if debug message should be skipped

Implemented in Acts::Logging::DefaultFilterPolicy.

virtual Level Acts::Logging::OutputFilterPolicy::level ( ) const
pure virtual

Get the level of this filter policy

Returns
the levele

Implemented in Acts::Logging::DefaultFilterPolicy.


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