hardbyte / hardbyte/python-can

Use can.logger only log received msg to file, but send msg can not logged

Aperta
#1,222 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
1.6k
Fork
697
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Describe the bug
I use this below code, only received msg can save to hello.asc file, but send msg can not be saved. How to save the send msg?
tmplogger = can.Logger("hello.asc")
self.bus.add_listener(tmplogger )

### To Reproduce
None

### Expected behavior
None

### Additional context

OS and version: win10
Python version: 3.7.7
python-can version: 37.0.1
python-can interface/s (if applicable): pcan

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.