RaspberryPiFoundation / python-build-hat

Build HAT Python library
MIT License
52 stars 18 forks source link

Add debug log filename access #204

Closed mutesplash closed 9 months ago

mutesplash commented 9 months ago

On some platforms, the tempfile module will put the debug log in a non-obvious place such as /private/var/folders/_v/dsfdsljkfds/T instead of something like /tmp. This patch remembers the filename that gets passed to the logging module so it can be easily located.