Open
Description
opened on Sep 13, 2019
I use printf debugging a lot, and the problem with printfs is that you have to recompile the code, which is slow.
An alternative is to use loging, which can be configured at run time and does not need recompiling.
However, I find logs not very useful for debugging, as enabling logging is cumbersome, and you usually get way to much output.
Ideally, I'd love to be able to enable not only the whole log level, but specific log statements. I believe an IDE should help here:
- for each log statement, there's an assist "enable log statement"
- IDE maintains a persitent list of enabled log statemtnts
- when running tasks, IDE set's
RUST_LOG
env variable to only hit the specified statements.
Activity