mirror of
https://github.com/status-im/re-frame.git
synced 2025-02-22 23:08:20 +00:00
Improve comment
This commit is contained in:
parent
06d8fccf89
commit
00891fd083
@ -40,7 +40,7 @@
|
||||
|
||||
(defn set-loggers!
|
||||
"Change the set (or a subset) of logging functions used by re-frame.
|
||||
'new-loggers' should be a map which looks like default-loggers"
|
||||
`new-loggers` should be a map with the same keys as `loggers` (above)"
|
||||
[new-loggers]
|
||||
(assert (empty? (difference (set (keys new-loggers)) (-> @loggers keys set))) "Unknown keys in new-loggers")
|
||||
(swap! loggers merge new-loggers))
|
||||
|
Loading…
x
Reference in New Issue
Block a user