We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 752c17f commit 716b604Copy full SHA for 716b604
src/taoensso/timbre.cljc
@@ -341,6 +341,8 @@
341
([color x y ] (str (ansi-color color) x y ansi-reset))
342
([color x y & more] (str (ansi-color color) x y (apply str more) ansi-reset)))))
343
344
+#?(:clj (def default-out (java.io.OutputStreamWriter. System/out)))
345
+#?(:clj (def default-err (java.io.PrintWriter. System/err)))
346
#?(:clj
347
(defmacro with-default-outs [& body]
348
`(binding [*out* default-out, *err* default-err] ~@body)))
0 commit comments