Skip to content
/ kaf Public

Cursed and pretty logging with `Fn` filters

License

Notifications You must be signed in to change notification settings

kotx/kaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Cursed and pretty logging with `Fn` filters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

 
 
 

Languages