From 6b36ce1ffd4a2776f3dc3a4b9907c28e138bada0 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Mon, 21 Aug 2023 15:53:58 +0200 Subject: [PATCH] [mod] Don't print compile-time config info This can be an issue for some build processes, etc. --- src/taoensso/tufte.cljc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/taoensso/tufte.cljc b/src/taoensso/tufte.cljc index 1ace0c7..dd20c39 100644 --- a/src/taoensso/tufte.cljc +++ b/src/taoensso/tufte.cljc @@ -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?