#include <Distributed/temporaryerrors.h>
◆ TemporaryErrors()
◆ ~TemporaryErrors()
◆ add()
- Parameters
-
errorSource | Use same number to group error messages together |
category | Log category of the error |
message | Actual error message. |
Instead of directly log the error message, use TemporaryErrors to reduce the repetition of similar messages by calling this method For any errorSource, only one of each unique error messages writes to log. Following repetitions would be only accumulated to its counter.
◆ clear()
void clear |
( |
int |
errorSource | ) |
|
- Parameters
-
errorSource | Use same number to group error messages together |
Mark the errorSource being resolved, prints a summary of most commonly collected messages.
◆ clearAll()
Silently clear all temporary errors.