DialogLogger

class sofia_redux.visualization.utils.logger.DialogLogger(parent)[source]

Bases: Handler

Log handler for logging error messages to a dialog box.

Parameters:
parentPyQt5.QtWidgets.QWidget

Methods Summary

emit(record)

Display a WARNING or ERROR message in a dialog box.

Methods Documentation

emit(record)[source]

Display a WARNING or ERROR message in a dialog box.

Parameters:
recordlogging.LogRecord

The log record, with an additional ‘origin’ attribute attached by EyeLogger.makeRecord.