StatusLogger¶
- class sofia_redux.visualization.utils.logger.StatusLogger(status_bar)[source]¶
Bases:
Handler
Log handler for logging info messages to a status bar.
- Parameters:
- status_bar
PyQt5.QtWidgets.QStatusBar
Status bar widget to display to.
- status_bar
Methods Summary
emit
(record)Display an INFO message in the status bar.
Methods Documentation
- emit(record)[source]¶
Display an INFO message in the status bar.
- Parameters:
- record
logging.LogRecord
The log record, with an additional ‘origin’ attribute attached.
- record