Complete these tasks to reinforce what you learned in this module.
In main, call env_logger::init(), then log one message at each of: info!, warn!, error!. Run with RUST_LOG=info and confirm all three appear (info and above).
// Task 1: Init and log levels. See tasks/TASKS.md.
fn main() {
todo!("env_logger::init(); info! warn! error!");
}
Log a debug! message and an info! message. Document in a comment that with RUST_LOG=info only info appears, and with RUST_LOG=debug both appear. No code change required for the task beyond logging; the point is to try both env values.
RUST_LOG=debug when running to see debug output.// Task 2: Debug vs info with RUST_LOG. See tasks/TASKS.md.
fn main() {
todo!("debug! and info!; try RUST_LOG=debug and RUST_LOG=info");
}