mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
* log device boot time * misra * only log real boots * set gpio * true * initial * log bootkick * fix RPv2 --------- Co-authored-by: Comma Device <device@comma.ai> Co-authored-by: Igor Biletksyy <bs@privacy.im>
9 lines
190 B
Python
Executable File
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']}")
|