Merge pull request #101 from arichiardi/silent-new-cljs-warning

Silent *logger* warning in latest ClojureScript
This commit is contained in:
Anatoly 2018-11-03 22:05:14 -04:00 committed by GitHub
commit 8de6b09989
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
(defproject mount "0.1.12-SNAPSHOT"
(defproject mount "0.1.15-SNAPSHOT"
:description "managing Clojure and ClojureScript app state since (reset)"
:url "https://github.com/tolitius/mount"
:license {:name "Eclipse Public License"

View file

@ -3,7 +3,7 @@
(:import [goog.debug Console])]))
#?(:cljs
(defonce *logger*
(defonce ^:dynamic *logger*
(do
(.setCapturing (Console.) true)
(glog/getLogger "mount"))))