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

#971 in Debugging

Download history 4169/week @ 2024-11-30 3973/week @ 2024-12-07 5111/week @ 2024-12-14 2246/week @ 2024-12-21 1733/week @ 2024-12-28 4380/week @ 2025-01-04 4352/week @ 2025-01-11 4184/week @ 2025-01-18 4181/week @ 2025-01-25 6014/week @ 2025-02-01 4949/week @ 2025-02-08 3794/week @ 2025-02-15 4662/week @ 2025-02-22 4541/week @ 2025-03-01 6653/week @ 2025-03-08 5851/week @ 2025-03-15

22,370 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.3–3.5MB
~57K SLoC