_ClassificationWarningCollector¶
class _ClassificationWarningCollector()
Bases: Handler
Logging handler that records WARNING-level messages verbatim, so they can be surfaced in the saved classification report instead of living only in the log file.
Attached to PeakFinder.logger for the duration of the classifier
stages in _post_process_events and nowhere else - see that method for
where it starts and stops listening. report_channel_status reads
self._classification_warnings afterward; this handler has no effect
on what actually gets logged, since the root/module logging setup is
untouched.