Currently in GUI mode, stdout and stderr are captured. This is because many GUI OSs (Windows) raise an exception or error when a GUI app writes to stdout or stderr.
While this currently works in Balsa, there's no indication that a log was indeed from stdout or stderr. The lines are directly written to the log without an indication of where they came from.
Current behavior:
2024-05-06T10:53:40.229075-07:00 - root - MainProcess - balsa.py - 71 - write - INFO - ZeroDivisionError
Desired behavior:
2024-05-06T10:53:40.229075-07:00 - root - MainProcess - balsa.py - 71 - write - INFO - stderr: "ZeroDivisionError"