Class Acts::Logging::OutputFilterPolicy

class OutputFilterPolicy

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.

Subclassed by Acts::Logging::DefaultFilterPolicy

Public Functions

virtual ~OutputFilterPolicy() = default

virtual default destructor

virtual std::unique_ptr<OutputFilterPolicy> clone(Level level) const = 0

Make a copy of this filter policy with a new level.


level – the new level


the new copy

virtual bool doPrint(const Level &lvl) const = 0

decide whether a debug message should be processed


lvl[in] debug level of debug message


true of debug message should be processed, false if debug message should be skipped

virtual Level level() const = 0

Get the level of this filter policy.


the levele