mirror of
https://github.com/status-im/timbre.git
synced 2025-01-31 14:15:00 +00:00
Fix: (log nil)
should work as 'never log'
This commit is contained in:
parent
29113cc203
commit
28e5490480
@ -395,7 +395,7 @@
|
||||
{:pre [(#{:nil :print-str :format} msg-type)]}
|
||||
`(let [;;; Support [level & log-args], [config level & log-args] sigs:
|
||||
s1# ~s1
|
||||
default-config?# (keyword? s1#)
|
||||
default-config?# (or (keyword? s1#) (nil? s1#))
|
||||
config# (if default-config?# @config s1#)
|
||||
level# (if default-config?# s1# ~s2)]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user