hardbyte / hardbyte/python-can

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

未关闭
#1,222 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
1.6k
派生
697
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。