Files
dragonpilot/panda/tests/print_logs.py
Comma Device 5c73e264e9 Release 260308
2026-03-08 23:26:57 +08:00

9 lines
190 B
Python
Executable File

#!/usr/bin/env python3
from panda import Panda
if __name__ == "__main__":
p = Panda()
for l in p.get_logs():
print(f"{l['id']:<6d} {l['timestamp']} {l['uptime']:6d} - {l['msg']}")