is there anyway to disable all crates log and only show log of my program?
NiiightmareXD opened this issue · 2 comments
NiiightmareXD commented
is there anyway to disable all crates log and only show log of my program?
daboross commented
Yep! Use Dispatch::level
to set the default level to LevelFilter::Off
, then use Dispatch::level_for
to set the level for your crate name to whatever log level you want.
NiiightmareXD commented
Thanks