mirror of https://github.com/status-im/timbre.git
Housekeeping
This commit is contained in:
parent
e4104ef61d
commit
3c211afe62
|
@ -31,11 +31,11 @@
|
||||||
(def default-err (java.io.PrintWriter. System/err))
|
(def default-err (java.io.PrintWriter. System/err))
|
||||||
|
|
||||||
(defmacro with-default-outs
|
(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))
|
[& body] `(binding [*out* default-out *err* default-err] ~@body))
|
||||||
|
|
||||||
(defmacro with-err-as-out
|
(defmacro with-err-as-out
|
||||||
"Executes body with *err* bound to *out*."
|
"Evaluates body with *err* bound to *out*."
|
||||||
[& body] `(binding [*err* *out*] ~@body))
|
[& body] `(binding [*err* *out*] ~@body))
|
||||||
|
|
||||||
;;;; Default configuration and appenders
|
;;;; Default configuration and appenders
|
||||||
|
|
Loading…
Reference in New Issue