Add logging crates to backup. This will allow for tracing commands
to work.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Looks good to me. Might've been helpful to link respective repos when adding dependencies:
env_logger: https://github.com/env-logger-rs/env_logger/
log: https://github.com/rust-lang/log
Adding @ashoat as blocking since dependency diff.
Comment Actions
In addition to that:
- https://docs.rs/log/latest/log/ is the official logging facade, in which the tracing API is exposed
- https://github.com/env-logger-rs/env_logger/ is a popular implementation of logging, which allows you to set RUST_LOG to a logging value before launching your application.
There is a bit of awkwardness, in that most log implementations assume you initialize it from a main.rs, but we really don't have one since it's currently a library extending C++