Crate slog_kvfilter[][src]

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.

Structs

KVFilter

Drain filtering records using list of keys and values they must have unless they are of a higher level than filtering applied. it can apply a negative filter as well that overrides any matches but will let higher level than filtering applied as well.

Type Definitions

KVFilterList

Must be a hashmap since we do not rely on ordered keys