Class reference
Generic expectation of SeveritySuppressor
- For a given log statement, log the first occurrence at severity level normal.
- For a duration period, log subsequent occurrences at severity level quiet.
- Once period has lapsed, log the next occurrence at severity level normal.
- Go to step 2.
Current behavior
- For a given log statement, log the first occurrence at severity level quiet.
- For a fixed duration of one second, log subsequent occurrences at severity level normal.
- Once that duration has lapsed, log the next occurrence at severity level quiet.
- Go to step 2.
Existing bugs
- Instead of using period, the SeveritySuppressor uses a fixed duration.
- Instead of quiescing all logs during period, we only quiesce one log every time period occurs.
|