mirror of https://github.com/status-im/timbre.git
hk: remove unnecessary check against `format` msg args
This commit is contained in:
parent
e775711355
commit
ef921d5662
|
@ -291,8 +291,7 @@
|
|||
(assoc :message
|
||||
(when-not (empty? args)
|
||||
(case msg-type
|
||||
:format (if-not (next args) (str args)
|
||||
(apply format args))
|
||||
:format (apply format args)
|
||||
:print-str (apply print-str args)
|
||||
:nil nil)))))
|
||||
juxtfn-args (assoc juxtfn-args :timestamp (timestamp-fn instant))
|
||||
|
|
Loading…
Reference in New Issue