DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
custom_rich_log.py
Go to the documentation of this file.
1from textual.widgets import RichLog
2
3# Extends rich error log to have errors prints [will make prettier as time goes on!]
4
5class RichLogWError(RichLog):
6 def write_error(self, exception: Exception):
7 super().write(f"ERROR: [red]{str(exception)}")
8