fix parameters of goog.log functions to prevent compiler warnings
This commit is contained in:
parent
2bca9089b8
commit
2f4d1a3581
1 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@
|
|||
(defonce ^:dynamic *logger*
|
||||
(do
|
||||
(.setCapturing (Console.) true)
|
||||
(glog/getLogger "mount"))))
|
||||
(glog/getLogger "mount" nil))))
|
||||
|
||||
#?(:clj
|
||||
(defn log [msg & _]
|
||||
|
|
@ -15,6 +15,6 @@
|
|||
#?(:cljs
|
||||
(defn log [msg & level]
|
||||
(case (first level)
|
||||
:error (glog/error *logger* msg)
|
||||
(glog/info *logger* msg))))
|
||||
:error (glog/error *logger* msg nil)
|
||||
(glog/info *logger* msg nil))))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue