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

#808 in Debugging

Download history 6625/week @ 2024-08-26 5099/week @ 2024-09-02 4688/week @ 2024-09-09 4796/week @ 2024-09-16 4861/week @ 2024-09-23 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 4098/week @ 2024-12-09

17,511 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
~58K SLoC