Liking cljdoc? Tell your friends :D

std.log.match


filter-baseclj

(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
raw docstring

filter-excludeclj

(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
raw docstring

filter-includeclj

(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
raw docstring

filter-valueclj

(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
raw docstring

matchclj

(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
raw docstring

match-filterclj

(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}})
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close