Skip to content

Commit 716b604

Browse files
committed
[fix] [#396] Bring back accidentally removed sys out vars (@ferdinand-beyer)
1 parent 752c17f commit 716b604

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/taoensso/timbre.cljc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,8 @@
341341
([color x y ] (str (ansi-color color) x y ansi-reset))
342342
([color x y & more] (str (ansi-color color) x y (apply str more) ansi-reset)))))
343343

344+
#?(:clj (def default-out (java.io.OutputStreamWriter. System/out)))
345+
#?(:clj (def default-err (java.io.PrintWriter. System/err)))
344346
#?(:clj
345347
(defmacro with-default-outs [& body]
346348
`(binding [*out* default-out, *err* default-err] ~@body)))

0 commit comments

Comments
 (0)