From 5c1894545d43c3488ce3afffaf5f501c567135f8 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Mon, 6 Mar 2023 11:26:54 +0100 Subject: [PATCH] [fix] [#370] Remove `println` output on init load (@helins) Libraries printing information without control are often a nuisance. --- src/taoensso/timbre.cljc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/taoensso/timbre.cljc b/src/taoensso/timbre.cljc index e8cbcaf4..3b09d1ab 100644 --- a/src/taoensso/timbre.cljc +++ b/src/taoensso/timbre.cljc @@ -181,7 +181,7 @@ {:value level :type (type level)}]))) (when valid? - (println (str "Compile-time (elision) Timbre min-level: " level)) + ;; (println (str "Compile-time (elision) Timbre min-level: " level)) level)))) #?(:clj @@ -204,8 +204,8 @@ ns-pattern (or ns-pattern "*")] (swap! compile-time-config_ assoc :ns-pattern ns-pattern) - (when present? - (println (str "Compile-time (elision) Timbre ns-pattern: " ns-pattern))) + ;; (when present? + ;; (println (str "Compile-time (elision) Timbre ns-pattern: " ns-pattern))) ns-pattern))) @@ -1241,7 +1241,7 @@ :res "taoensso.timbre.config.edn" :res-env "taoensso.timbre.config-resource"})] - (println (str "Loading initial Timbre config from: " source)) + ;; (println (str "Loading initial Timbre config from: " source)) (assoc config :_init-config {:loaded-from-source source :compile-time-config @compile-time-config_}))))