Housekeeping

This commit is contained in:
Peter Taoussanis 2013-01-29 16:57:28 +07:00
parent e4104ef61d
commit 3c211afe62
1 changed files with 2 additions and 2 deletions

View File

@ -31,11 +31,11 @@
(def default-err (java.io.PrintWriter. System/err))
(defmacro with-default-outs
"Executes body with Clojure's default *out* and *err* bindings."
"Evaluates body with Clojure's default *out* and *err* bindings."
[& body] `(binding [*out* default-out *err* default-err] ~@body))
(defmacro with-err-as-out
"Executes body with *err* bound to *out*."
"Evaluates body with *err* bound to *out*."
[& body] `(binding [*err* *out*] ~@body))
;;;; Default configuration and appenders