(filter-base value filter)
matches based on input and filter
(filter-base "hello" #"h.*") => true
matches based on input and filter (filter-base "hello" #"h.*") => true
(filter-exclude value filters)
negative if one of the matches hit
(filter-exclude :hello nil) => true
negative if one of the matches hit (filter-exclude :hello nil) => true
(filter-include value filters)
positive if filter is empty or one of the matches hit
(filter-include :hello nil) => true
positive if filter is empty or one of the matches hit (filter-include :hello nil) => true
(filter-value value {:keys [include exclude ignore]})
filters based on exclude and include filters
(filter-value "hello" nil) => true
filters based on exclude and include filters (filter-value "hello" nil) => true
(match {:keys [level namespace function filter] :as m} entry)
matches the logger with event information
(match {:level :debug} {:log/level :debug}) => true
matches the logger with event information (match {:level :debug} {:log/level :debug}) => true
(match-filter filter entry)
helper for match
(match-filter {:log/tags {:include ["hello"]}} {:log/tags #{:hello :world}})
helper for `match` (match-filter {:log/tags {:include ["hello"]}} {:log/tags #{:hello :world}})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close