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

#844 in Debugging

Download history 4518/week @ 2024-09-30 5642/week @ 2024-10-07 5582/week @ 2024-10-14 4993/week @ 2024-10-21 5698/week @ 2024-10-28 4633/week @ 2024-11-04 4410/week @ 2024-11-11 5043/week @ 2024-11-18 4007/week @ 2024-11-25 4190/week @ 2024-12-02 4049/week @ 2024-12-09 4952/week @ 2024-12-16 2004/week @ 2024-12-23 1888/week @ 2024-12-30 4459/week @ 2025-01-06 4033/week @ 2025-01-13

12,556 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