mirror of
https://github.com/status-im/re-frame.git
synced 2025-02-23 23:38:11 +00:00
Move comment and readjust format.
This commit is contained in:
parent
40882e2d07
commit
b7deb29f84
@ -9,12 +9,14 @@
|
||||
(first args)
|
||||
(str/join " " args)))))
|
||||
|
||||
;; "loggers" holds the current set of logging functions.
|
||||
;; By default, re-frame uses the functions provided by js/console.
|
||||
;; Use set-loggers! to change these defaults.
|
||||
|
||||
;; XXX should loggers be put in the registrar ??
|
||||
(def ^:private loggers (atom #?(:cljs {:log (js/console.log.bind js/console)
|
||||
(def ^:private loggers
|
||||
"Holds the current set of logging functions.
|
||||
By default, re-frame uses the functions provided by js/console.
|
||||
Use `set-loggers!` to change these defaults
|
||||
"
|
||||
(atom #?(:cljs {:log (js/console.log.bind js/console)
|
||||
:warn (js/console.warn.bind js/console)
|
||||
:error (js/console.error.bind js/console)
|
||||
:group (if (.-group js/console) ;; console.group does not exist < IE 11
|
||||
|
Loading…
x
Reference in New Issue
Block a user