How can I output the debug information onto the terminal in Rust ( Beginner in Rust! )
Hi, so I was recently introduced to quiche and Rust, but I was wondering how I can output the debug information onto the terminal for example from the client.rs file:
Is there a flag for cargo that would be able to handle this?
You can set RUST_LOG environment variable. It takes different levels such as race, debug, warn or error.
You can set RUST_LOG environment variable. It takes different levels such as race, debug, warn or error.
@LPardue that does not work because the examples are missing a logger implementation, https://docs.rs/log/latest/log/#available-logging-implementations
I can send a PR to add env_logger to the examples