Update Graphical User Interface authored by jesseg64's avatar jesseg64
...@@ -176,6 +176,3 @@ The CLI Wrapper class raises custom exceptions when certain errors occur, for ex ...@@ -176,6 +176,3 @@ The CLI Wrapper class raises custom exceptions when certain errors occur, for ex
We are using the built in logging library for Python to handle terminal, file, and GUI logging. The logger object is first created in the __init__ function of MainWindow in `app.py`, then passed to each subsequent widget/window that needs it. The logging object also gets passed to the Wrapper, so all wrapper commands and response are included in logging outputs. We are using the built in logging library for Python to handle terminal, file, and GUI logging. The logger object is first created in the __init__ function of MainWindow in `app.py`, then passed to each subsequent widget/window that needs it. The logging object also gets passed to the Wrapper, so all wrapper commands and response are included in logging outputs.
The Debug page uses the logging object to write logs to the GUI. Check out the `LogHandler` class in `debug.py` for it's implementation. The Debug page uses the logging object to write logs to the GUI. Check out the `LogHandler` class in `debug.py` for it's implementation.
[<< Previous Chapter](CLI-Wrapper) | [Home](Home) | [Next Chapter >>](Using-the-CyDAQ-User-Interface)