Interface class that is applied to the log retention mechanism.
More...
#include <ee/LogRetentionPolicy.hpp>
|
virtual void | init () noexcept=0 |
| This method is called before executing a cycle of decisions.
|
|
virtual bool | retain (const LogEntry &logEntry) noexcept=0 |
| This method decides whether to retain or release the log entry. More...
|
|
|
const uint8_t | mPriority |
| The priority marks how important this log retention policy is.
|
|
Interface class that is applied to the log retention mechanism.
ee::LogRetentionPolicy::LogRetentionPolicy |
( |
uint8_t |
priority | ) |
|
|
explicitprotectednoexcept |
Constructor.
- Parameters
-
priority | The priority of this log retention policy. |
virtual bool ee::LogRetentionPolicy::retain |
( |
const LogEntry & |
logEntry | ) |
|
|
pure virtualnoexcept |
The documentation for this class was generated from the following file: