Skip to content

Commit

Permalink
[mod] Don't print compile-time config info
Browse files Browse the repository at this point in the history
This can be an issue for some build processes, etc.
  • Loading branch information
ptaoussanis committed Aug 21, 2023
1 parent 6905961 commit fa9f8e4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/taoensso/tufte.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,12 @@
(def ^:private compile-time-min-level
(when-let [level (enc/read-sys-val* [:taoensso.tufte.min-level.edn :taoensso.tufte.min-level :tufte.min-level])]
(valid-min-level level)
(println (str "Compile-time (elision) Tufte min-level: " level))
level)))
(do level))))

#?(:clj
(def ^:private compile-time-ns-filter
(let [ns-pattern (enc/read-sys-val* [:taoensso.tufte.ns-pattern.edn :taoensso.tufte.ns-pattern :tufte.ns-pattern])]
(when ns-pattern (println (str "Compile-time (elision) Tufte ns-pattern: " ns-pattern)))
(or ns-pattern "*"))))
(or ns-pattern "*"))))

#?(:clj
(defn -elide?
Expand Down

0 comments on commit fa9f8e4

Please sign in to comment.