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

#16 in #slog

Download history 4088/week @ 2021-08-19 4309/week @ 2021-08-26 3776/week @ 2021-09-02 6445/week @ 2021-09-09 5759/week @ 2021-09-16 5785/week @ 2021-09-23 5607/week @ 2021-09-30 4896/week @ 2021-10-07 5707/week @ 2021-10-14 4332/week @ 2021-10-21 3620/week @ 2021-10-28 3523/week @ 2021-11-04 3536/week @ 2021-11-11 3695/week @ 2021-11-18 2692/week @ 2021-11-25 3250/week @ 2021-12-02

14,022 downloads per month
Used in 35 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

~1.1–1.5MB
~41K SLoC

[