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 |
#784 in Debugging
20,790 downloads per month
Used in 33 crates
(via sloggers)
21KB
286 lines
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