<html><head><metacharset="UTF-8"/><title>taoensso.telemere.streams documentation</title><linkrel="stylesheet"type="text/css"href="css/default.css"/><linkrel="stylesheet"type="text/css"href="css/highlight.css"/><scripttype="text/javascript"src="js/highlight.min.js"></script><scripttype="text/javascript"src="js/jquery.min.js"></script><scripttype="text/javascript"src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divid="header"><h2>Generated by <ahref="https://github.com/weavejester/codox">Codox</a></h2><h1><ahref="index.html"><spanclass="project-title"><spanclass="project-name">Telemere</span><spanclass="project-version">1.0.0-beta4</span></span></a></h1><divid="langs"><divclass="lang current">clj</div><divclass="lang"><ahref="index.cljs.html">cljs</a></div></div></div><divclass="sidebar primary"><h3class="no-link"><spanclass="inner">Namespaces</span></h3><ul><liclass="depth-1"><divclass="no-link"><divclass="inner"><spanclass="tree"><spanclass="top"></span><spanclass="bottom"></span></span><span>taoensso</span></div></div></li><liclass="depth-2"><ahref="taoensso.telemere.html"><divclass="inner"><spanclass="tree"><spanclass="top"></span><spanclass="bottom"></span></span><span>telemere</span></div></a></li><liclass="depth-3 branch"><ahref="taoensso.telemere.open-telemetry.html"><divclass="inner"><spanclass="tree"><spanclass="top"></span><spanclass="bottom"></span></span><span>open-telemetry</span></div></a></li><liclass="depth-3 branch"><ahref="taoensso.telemere.postal.html"><divclass="inner"><spanclass="tree"><spanclass="top"></span><spanclass="bottom"></span></span><span>postal</span></div></a></li><liclass="depth-3 branch current"><ahref="taoensso.telemere.streams.html"><divclass="inner"><spanclass="tree"><spanclass="top"></span><spanclass="bottom"></span></span><span>streams</span></div></a></li><liclass="depth-3 branch"><ahref="taoensso.telemere.timbre.html"><divclass="inner"><spanclass="tree"><spanclass="top"></span><spanclass="bottom"></span></span><span>timbre</span></div></a></li><liclass="depth-3 branch"><ahref="taoensso.telemere.tools-logging.html"><divclass="inner"><spanclass="tree"><spanclass="top"></span><spanclass="bottom"></span></span><span>tools-logging</span></div></a></li><liclass="depth-3"><ahref="taoensso.telemere.utils.html"><divclass="inner"><spanclass="tree"><spanclass="top"></span><spanclass="bottom"></span></span><span>utils</span></div></a></li></ul></div><divclass="sidebar secondary"><h3><ahref="#top"><spanclass="inner">Public Vars</span></a></h3><ul><liclass="depth-1"><ahref="taoensso.telemere.streams.html#var-check-err-intake"><divclass="inner"><span>check-err-intake</span></div></a></li><liclass="depth-1"><ahref="taoensso.telemere.streams.html#var-check-out-intake"><divclass="inner"><span>check-out-intake</span></div></a></li><liclass="depth-1"><ahref="taoensso.telemere.streams.html#var-streams-.3Ereset.21"><divclass="inner"><span>streams->reset!</span></div></a></li><liclass="depth-1"><ahref="taoensso.telemere.streams.html#var-streams-.3Etelemere.21"><divclass="inner"><span>streams->telemere!</span></div></a></li><liclass="depth-1"><ahref="taoensso.telemere.streams.html#var-with-err-.3Etelemere"><divclass="inner"><span>with-err->telemere</span></div></a></li><liclass="depth-1"><ahref="taoensso.telemere.streams.html#var-with-out-.3Etelemere"><divclass="inner"><span>with-out->telemere</span></div></a></li><liclass="depth-1"><ahref="taoensso.telemere.streams.html#var-with-streams-.3Etelemere"><divclass="inner"><span>with-streams->telemere</span></div></a></li></ul></div><divclass="namespace-docs"id="content"><h1class="anchor"id="top">taoensso.telemere.streams</h1><divclass="doc"><preclass="plaintext">Intake support for standard stream/s -> Telemere.
When given `out`, sets JVM's `System/out` to flush to Telemere signals with those opts.
When given `err`, sets JVM's `System/err` to flush to Telemere signals with those opts.
Note that setting `System/out` won't necessarily affect Clojure's `*out*`,
and setting `System/err` won't necessarily affect Clojure's `*err*`.
See also:
`with-out->telemere`,
`with-err->telemere`,
`with-streams->telemere`.</pre></div></div><divclass="public anchor"id="var-with-err-.3Etelemere"><h3>with-err->telemere</h3><h4class="type">macro</h4><h4class="lang current">clj</h4><divclass="usage"><code>(with-err->telemere form)</code><code>(with-err->telemere opts form)</code></div><divclass="doc"><preclass="plaintext">Executes form with `*err*` bound to flush to Telemere signals with given opts.
</pre></div></div><divclass="public anchor"id="var-with-out-.3Etelemere"><h3>with-out->telemere</h3><h4class="type">macro</h4><h4class="lang current">clj</h4><divclass="usage"><code>(with-out->telemere form)</code><code>(with-out->telemere opts form)</code></div><divclass="doc"><preclass="plaintext">Executes form with `*out*` bound to flush to Telemere signals with given opts.
</pre></div></div><divclass="public anchor"id="var-with-streams-.3Etelemere"><h3>with-streams->telemere</h3><h4class="type">macro</h4><h4class="lang current">clj</h4><divclass="usage"><code>(with-streams->telemere form)</code><code>(with-streams->telemere {:keys [out err], :or {out default-out-opts, err default-err-opts}} form)</code></div><divclass="doc"><preclass="plaintext">Executes form with `*out*` and/or `*err*` bound to flush to Telemere signals
with given opts.</pre></div></div></div></body></html>