Closed blaine-dodson closed 3 years ago
If you wanna use the TestLogger
(which is only useful for actual tests), you need to enable the "test" feature of simplelog.
You Cargo.toml entry needs to look like this: simplelog = { version = "0.8", features = ["test"] }
That did it. Thank you very much.
Can anyone else reproduce this error, or is it just me? I create a new cargo project
Cargo.toml
main.rs
Terminal: