mirror of https://github.com/status-im/timbre.git
#71: Add note re: possible future `delay` wrapping for `:message`+`:output` keys
This commit is contained in:
parent
ff6250b5da
commit
e18ced6b2e
|
@ -283,6 +283,9 @@
|
|||
(let [juxtfn-args (if-not msg-type juxtfn-args ; tools.logging
|
||||
(-> juxtfn-args
|
||||
(dissoc :msg-type)
|
||||
;; TODO Consider a breaking change here to
|
||||
;; swap assoc'd message with a delay, as
|
||||
;; per http://goo.gl/7YVSfj:
|
||||
(assoc :message
|
||||
(when-not (empty? args)
|
||||
(case msg-type
|
||||
|
|
Loading…
Reference in New Issue