mirror of
https://github.com/status-im/timbre.git
synced 2025-03-04 04:51:15 +00:00
Merge pull request #27 from ticking/stdout-atomicity
Fix `str-println` newline
This commit is contained in:
commit
a6f287fe38
@ -13,7 +13,7 @@
|
||||
"Like `println` but prints all objects to output stream as a single
|
||||
atomic string. This is faster and avoids interleaving race conditions."
|
||||
[& xs]
|
||||
(print (str/join \space (filter identity xs)) \newline)
|
||||
(print (str (str/join \space (filter identity xs)) \newline))
|
||||
(flush))
|
||||
|
||||
(defn color-str [color & xs]
|
||||
|
Loading…
x
Reference in New Issue
Block a user