Skip to content

Commit ab1bbd9

Browse files
gmsvalenteIain Wood
and
Iain Wood
authored
Fix set-level to pure function (#285)
* Fix set-level to pure function Co-authored-by: Iain Wood <[email protected]> * Apply cljstyle and clj-kondo Co-authored-by: Iain Wood <[email protected]> --------- Co-authored-by: Iain Wood <[email protected]>
1 parent fb15e7d commit ab1bbd9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/xiana/logging.clj

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
(ns xiana.logging
22
(:require
3-
[taoensso.timbre :as log]
4-
[xiana.config :as config]))
3+
[taoensso.timbre :as log]))
54

65
(defn set-level
76
[cfg]
8-
(when-let [level (-> (config/config) :logging/timbre-config :min-level)]
7+
(when-let [level (-> cfg :logging/timbre-config :min-level)]
98
(log/set-min-level! level))
109
cfg)

0 commit comments

Comments
 (0)