9 unstable releases (3 breaking)

Uses old Rust 2015

0.7.0 Sep 24, 2018
0.6.1 Sep 23, 2018
0.6.0 Aug 3, 2018
0.5.2 Aug 3, 2018
0.4.0 Aug 5, 2017

#784 in Debugging

Download history 5817/week @ 2024-07-24 4976/week @ 2024-07-31 4474/week @ 2024-08-07 5492/week @ 2024-08-14 5147/week @ 2024-08-21 6287/week @ 2024-08-28 5189/week @ 2024-09-04 4393/week @ 2024-09-11 5035/week @ 2024-09-18 4389/week @ 2024-09-25 5004/week @ 2024-10-02 5729/week @ 2024-10-09 5637/week @ 2024-10-16 5346/week @ 2024-10-23 4990/week @ 2024-10-30 3704/week @ 2024-11-06

20,790 downloads per month
Used in 33 crates (via sloggers)

MPL-2.0/MIT/Apache-2.0

21KB
286 lines

slog-rs logo
Travis CI Build Status slog-kvfilter on crates.io slog-rs Gitter Chat

slog-kvfilter - Key values and Regex based filter Drain for slog-rs

For more information, help, to report issues etc. see slog-rs.

Documentation can be found on slog-kvfilter type.


lib.rs:

Filter records by matching some of their keys against a sets of values while allowing for records of level high enough to pass. It also can apply a negative filter after the positive filter to allow sophisticated 'hole-punching' into a matching category. Ultimately, the resulting message (without keys and values) can be constrained by both presence of a regex or its absence.

Dependencies

~2.2–3.5MB
~57K SLoC