I was working with log
and env_logger
crate and its documentation says that we can set the RUST_LOG
environment variable to different levels to filter out logs of lower-level, RUST_LOG=debug
will filter out all logs of trace
level.
I tried running this command RUST_LOG=debug cargo run
and i get this following error
RUST_LOG=debug : The term 'RUST_LOG=debug' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
how do i solve this?