mirror of https://github.com/status-im/timbre.git
Restores the standard-out appender's thread safety.
Since commit 71218f7086
`str-println`
no longer prints the newline with the other output, this is restored.
This commit is contained in:
parent
a6ecb2c1e6
commit
168ba46c24
|
@ -13,7 +13,7 @@
|
||||||
"Like `println` but prints all objects to output stream as a single
|
"Like `println` but prints all objects to output stream as a single
|
||||||
atomic string. This is faster and avoids interleaving race conditions."
|
atomic string. This is faster and avoids interleaving race conditions."
|
||||||
[& xs]
|
[& xs]
|
||||||
(print (str/join \space (filter identity xs)) \newline)
|
(print (str (str/join \space (filter identity xs)) \newline))
|
||||||
(flush))
|
(flush))
|
||||||
|
|
||||||
(defn color-str [color & xs]
|
(defn color-str [color & xs]
|
||||||
|
|
Loading…
Reference in New Issue