Skip to content

Commit

Permalink
turn down logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoontz committed Aug 2, 2024
1 parent d716e0a commit e26c108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/menard/lexiconfn.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -448,13 +448,13 @@
(let [exceptions-for (fn [canonical lexemes]
;; "generate all the exceptions possible for the sequence _lexemes_, each of which
;; has _canonical_ as the canonical form for the exception."
(log/info (str "canonical: " canonical))
(log/debug (str "canonical: " canonical))
(let [merge-all (fn [args]
(if (seq args)
(reduce (fn [a b] (merge-with concat a b)) args)))]
(->> lexemes
(mapcat (fn [lexeme]
(let [log-fn (if (or true (contains? lexemes-to-trace canonical))
(let [log-fn (if (contains? lexemes-to-trace canonical)
(fn [msg] (log/info msg))
(fn [msg] (log/debug msg)))]
(log-fn (str "add-exceptions-to-lexicon: "
Expand Down

0 comments on commit e26c108

Please sign in to comment.