Use Logging Crate To Avoid STDOUT Spam #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "03/logging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
adds a logging crate + simple_logger front-end with a
logfeature flag.this prevents debug outputs from being printed with CLI operations.
to enable:
cargo build --release --features logexpected output example w/ logging enabled:
to disable:
cargo build --releaseexpected output example w/ logging disabled:
Ah what a relief :-)