allow

Function allow 

Source
pub fn allow(target: impl AsRef<str>)
Expand description

Explicitly allows the module specified by target

§Arguments

  • target the module remove from module filter

§Example

use smlog::{Log, LevelFilter, ignore, allow};
 
fn main() {
    ignore("foo");

    Log::init(LevelFilter::Warn);

    // ...

    allow("foo");
}