daboross/fern

is there anyway to disable all crates log and only show log of my program?

NiiightmareXD opened this issue · 2 comments

is there anyway to disable all crates log and only show log of my program?

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.

Thanks