Silent *logger* warning in latest ClojureScript
The latest version is a bit stricter and emits a warning for ear-muffed vars with no ^:dynamic.
This commit is contained in:
parent
17112646f1
commit
c2687d1b9f
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
(:import [goog.debug Console])]))
|
||||
|
||||
#?(:cljs
|
||||
(defonce *logger*
|
||||
(defonce ^:dynamic *logger*
|
||||
(do
|
||||
(.setCapturing (Console.) true)
|
||||
(glog/getLogger "mount"))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue