How to set logging level while running cargo test? [duplicate]

纵饮孤独 提交于 2019-12-05 05:48:51
Manishearth

Cargo doesn't support this yet, but you are welcome to file an issue for it.

RUST_LOG=debug cargo test should work, you can set environment variables for single commands instead of setting them for the current environment.

More info on the RUST_LOG env variable here.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!