Consider renaming Logger
- 主要语言
- Dart
- 星标
- 1.1k
- 派生
- 113
- PR 合并指标
- 30 天内没有已合并 PR
描述
Mason might have too many users already to do anything about this , but I thought I'd point this out.
The term "Logger" appears to be used within the context of hooks to interact with a user. This is a very confusing name. I don't think I've ever seen the term "logger" applied to user interaction. It would never have occurred to me to look at the `Logger` API to control user input, except that I saw some other source code that was using it for that purpose.
Typically, logging is the passive accumulation of information during execution. Logs might print to stdout, or maybe not. But either way, it's information gathering.
User interaction is a two-way exchange with lots of blocking in between. The goals of this user interaction is very different than that of logging, and loggers would never dream of blocking execution to wait for a response.
You might consider adjusting the associated API names, so that Mason developers know where to go for traditional logging, and where to go for a console-based user interface.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。