From 168ba46c2433c22d8032b55dbd78829eb4464a38 Mon Sep 17 00:00:00 2001 From: Jan-Paul Bultmann Date: Thu, 12 Sep 2013 18:44:30 +0200 Subject: [PATCH] Restores the standard-out appender's thread safety. Since commit 71218f708607e121f7097c740d850b76b83f655a `str-println` no longer prints the newline with the other output, this is restored. --- src/taoensso/timbre.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/taoensso/timbre.clj b/src/taoensso/timbre.clj index 77e98f0..0bffb4d 100644 --- a/src/taoensso/timbre.clj +++ b/src/taoensso/timbre.clj @@ -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]