Ref T111, allow to limit entries in log component

This commit is contained in:
Klaus Basan
2017-08-08 02:23:27 +02:00
committed by Mathew Sutcliffe
parent 4c8ae06eff
commit 266a418c90
6 changed files with 73 additions and 3 deletions

View File

@@ -97,6 +97,10 @@ namespace BlackMisc
//! Remove info and below
void removeInfoAndBelow();
//! Keep latest n status messages
//! \remark taking timestamp of n-th oldest messages, deleting all older
int keepLatest(int estimtatedNumber);
//! Find worst severity
CStatusMessage::StatusSeverity worstSeverity() const;