Python target does not provide user-facing log functions
还没有人认领这个 Issue。
评估
调研方向
首先阅读链接的 C target 文档中关于 DEBUG_PRINT() 和 error_print() 的内容,然后比较 Python target 如何处理面向用户的输出,以及 logging target 规范的要求。完成的标准是 Python target 提供具有可控输出的等效日志函数,并更新 wiki。
由索引模型根据 Issue 内容生成。
描述
The C target has a few useful user-facing APIs such as DEBUG_PRINT() and error_print() that will allow the user to add thread-safe print statements in the body of reactions. The output (or lack thereof) of these APIs can then be controlled using the logging target specification.
This could be a very useful feature in the Python target as well.
To-Do
- Implement log functions
- Update the wiki once this feature is implemented.
- 主要语言
- Python
- 星标
- 5
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
lf-lang/lf-python-support 的其他 Issue
-
bug invalid
难度 4/5 3-5 天 新手友好度 35/100
lf-lang/lf-python-support#19 ·
-
难度 3/5 1-2 天 新手友好度 35/100
lf-lang/lf-python-support#18 · 4 条评论 ·
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 45/100
lf-lang/lf-python-support#14 · 1 个 reaction ·
查看 lf-lang/lf-python-support 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
stephrobert/dsoxlab#238 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
sublimehq/package_control#1780 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 70/100
nwg-piotr/nwg-displays#145 ·