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

#718 in Debugging

Download history 4816/week @ 2023-12-02 3549/week @ 2023-12-09 3382/week @ 2023-12-16 1336/week @ 2023-12-23 2892/week @ 2023-12-30 4900/week @ 2024-01-06 3916/week @ 2024-01-13 5161/week @ 2024-01-20 5993/week @ 2024-01-27 6016/week @ 2024-02-03 4362/week @ 2024-02-10 5843/week @ 2024-02-17 5509/week @ 2024-02-24 5640/week @ 2024-03-02 6039/week @ 2024-03-09 5510/week @ 2024-03-16

23,450 downloads per month
Used in 32 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