| Crates.io | kaf |
| lib.rs | kaf |
| version | 1.0.2 |
| created_at | 2021-07-25 20:03:10.689181+00 |
| updated_at | 2021-07-26 18:07:35.659823+00 |
| description | Cursed and pretty logging with Fn filters |
| homepage | https://github.com/kotx/kaf |
| repository | https://github.com/kotx/kaf.git |
| max_upload_size | |
| id | 427167 |
| size | 10,873 |
Cursed and pretty logging with Fn filters
kaf::with_filter(
Box::new(|target, _level| {
(target == "mycrate" || target.starts_with("mycrate::"))
}),
log::LevelFilter::Info,
);
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.