Skip to content

Commit

Permalink
[fix] [#370] Remove println output on init load (@helins)
Browse files Browse the repository at this point in the history
Libraries printing information without control are often a nuisance.
  • Loading branch information
ptaoussanis committed Jun 30, 2023
1 parent a0bc5e0 commit 5c18945
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/taoensso/timbre.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)))

Expand Down Expand Up @@ -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_}))))
Expand Down

0 comments on commit 5c18945

Please sign in to comment.