hardbyte / hardbyte/python-can

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

Abierto
#1,222 6 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
1.6k
Forks
697
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.