Closed ChrisJefferson closed 1 month ago
Sounds good. @Kieranoski702's tree walker / rule applicator definitely needs a good trace, which we talked about in the past. Maybe the same logging library/setup can be used throughout.
It took me a while to figure out how to dump a log to a file -- you might do better than me, but if not you can look at https://github.com/peal/vole/blob/master/rust/src/bin/vole.rs , where I set up logging for another program.
Minus some CLI flags, this is done.
I see people often add, and comment out, various
println!
statements. Might be worth adding logging, controllable by command line or env, and then these logging messages can be left in, not printed by default, but turned on when needed?