38 return ((record.
level >= _from) && (record.
level <= _to));
40 return ((record.
level < _from) || (record.
level > _to));
Level from() const noexcept
Get Level from value.
Level to() const noexcept
Get Level to value.
bool positive() const noexcept
Get the positive filtration flag.
bool FilterRecord(Record &record) override
Filter the given logging record.
void Update(Level level, bool positive=true)
Update level filter with a given level value.
Level level
Level of the logging record.
C++ Logging project definitions.