mirror of https://github.com/status-im/timbre.git
`str-println` now flushes *out* (Marek Srank).
This commit is contained in:
parent
068d9bf248
commit
6807e2b6bd
|
@ -19,7 +19,8 @@
|
||||||
"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 (str/join \space xs) \newline)))
|
(print (str (str/join \space xs) \newline))
|
||||||
|
(flush))
|
||||||
|
|
||||||
(defonce config
|
(defonce config
|
||||||
^{:doc
|
^{:doc
|
||||||
|
|
Loading…
Reference in New Issue