Skip to content

Commit

Permalink
Fixing logging compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
oliyh committed Jan 25, 2022
1 parent c8f8ff4 commit abc0817
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/re_graph/logging.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@
(defn info [& s]
(let [msg (fmt s)]
#?(:clj (log/info msg)
:cljs (glog/info logger msg))))
:cljs (glog/info logger msg nil))))

(defn debug [& s]
(let [msg (fmt s)]
#?(:clj (log/debug msg)
:cljs (glog/fine logger msg))))
:cljs (glog/fine logger msg nil))))

(defn warn [& s]
(let [msg (fmt s)]
#?(:clj (log/warn msg)
:cljs (glog/warning logger msg))))
:cljs (glog/warning logger msg nil))))

(defn error [& s]
(let [msg (fmt s)]
#?(:clj (log/error msg)
:cljs (glog/error logger msg))))
:cljs (glog/error logger msg nil))))

0 comments on commit abc0817

Please sign in to comment.