A short tutorial on how to set up logging in a Textual TUI application using Python's built-in logging module alongside Textual's own TextualHandler. It covers attaching multiple handlers to write logs simultaneously to a file and to the Textual Console devtools, including how to run the app in developer mode to see live log output.
Sort: