kaf 1.0.2

Cursed and pretty logging with Fn filters
Documentation

Kaf

Crates.io docs.rs Crates.io

Cursed and pretty logging with Fn filters

kaf::with_filter(
    Box::new(|target, _level| {
        (target == "mycrate" || target.starts_with("mycrate::"))
    }),
    log::LevelFilter::Info,
);

FAQ

This is unoptimized and slow!

Please PR a fix or open an issue, I don't know anything about optimization.

What the heck is X?

I don't know either, but please open an issue.