So, I've gone through the documentation, and either it's not in there, or it's not clear enough for me to parse it out.
I'm running unit tests on my code, but each time I run them, I have to do it by
RUST_LOG=debug RUST_BACKTRACE=1 cargo test
If I forget to set the variables, obviously I'm not going to get all the info I want.
I've seen I can set config.toml to have these environment variables, but I don't see a way to separate build vs test, and I don't want logging set to debug for my builds, nor have to remember the various test-only environment variables every single time I run cargo test.
How do I best handle different-build-types needing different environment variables?