pyrot.logging#
Classes#
Logging handler that shows a message box for warnings and errors. |
Module Contents#
- class pyrot.logging.PyrotMessageBoxHandler(minimum_level: int = logging.WARNING)#
Bases:
logging.StreamHandlerLogging handler that shows a message box for warnings and errors.
- emit(record: logging.LogRecord) None#
Emit a log record by showing a message box.
- static show_message_box(title: str, message: str, level: str) None#
Show a message box with the given title and message.