Skip to content

Commit ea87baf

Browse files
authored
Public access to the filename of the debug log
1 parent d60686f commit ea87baf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

buildhat/hat.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ def get(self):
4141
"description": desc}
4242
return devices
4343

44+
def get_logfile(self):
45+
return Device._instance.debug_filename
46+
4447
def get_vin(self):
4548
"""Get the voltage present on the input power jack
4649

0 commit comments

Comments
 (0)