timbre/taoensso.timbre.appenders.c...

8 lines
5.1 KiB
HTML
Raw Normal View History

2016-02-22 07:51:33 +00:00
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><link href="css/default.css" rel="stylesheet" type="text/css" /><script src="js/jquery.min.js" type="text/javascript"></script><script src="js/page_effects.js" type="text/javascript"></script><title>taoensso.timbre.appenders.core documentation</title></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Timbre</span> <span class="project-version">4.3.0-RC1</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>taoensso</span></div></div></li><li class="depth-2"><a href="taoensso.timbre.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>timbre</span></div></a></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>appenders</span></div></div></li><li class="depth-4"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>3rd-party</span></div></div></li><li class="depth-5 branch"><a href="taoensso.timbre.appenders.3rd-party.gelf.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>gelf</span></div></a></li><li class="depth-5 branch"><a href="taoensso.timbre.appenders.3rd-party.rolling.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>rolling</span></div></a></li><li class="depth-5"><a href="taoensso.timbre.appenders.3rd-party.rotor.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>rotor</span></div></a></li><li class="depth-4 branch"><a href="taoensso.timbre.appenders.carmine.html"><div class="inner"><span class="tree" style="top: -114px;"><span class="top" style="height: 123px;"></span><span class="bottom"></span></span><span>carmine</span></div></a></li><li class="depth-4 branch current"><a href="taoensso.timbre.appenders.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-4"><a href="taoensso.timbre.appenders.postal.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>postal</span></div></a></li><li class="depth-3 branch"><a href="taoensso.timbre.profiling.html"><div class="inner"><span class="tree" style="top: -238px;"><span class="top" style="height: 247px;"></span><span class="bottom"></span></span><span>profiling</span></div></a></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>tools</span></div></div></li><li class="depth-4"><a href="taoensso.timbre.tools.logging.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>logging</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="taoensso.timbre.appenders.core.html#var-println-appender"><div class="inner"><span>println-appender</span></div></a></li><li class="depth-1"><a href="taoensso.timbre.appenders.core.html#var-spit-appender"><div class="inner"><span>spit-appender</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">taoensso.timbre.appenders.core</h1><div class="doc"><pre class="plaintext">Core Timbre appenders without any special dependency requirements. These ca
2015-06-08 03:39:03 +00:00
be aliased into the main Timbre ns for convenience.</pre></div><div class="public anchor" id="var-println-appender"><h3>println-appender</h3><div class="usage"><code>(println-appender &amp; [{:keys [stream], :or {stream :auto}}])</code></div><div class="doc"><pre class="plaintext">Returns a simple `println` appender for Clojure/Script.
Use with ClojureScript requires that `cljs.core/*print-fn*` be set.
2016-02-22 07:51:33 +00:00
:stream (clj only) - e/o #{:auto :*out* :*err* :std-err :std-out &lt;io-stream&gt;}.</pre></div><div class="src-link"><a href="https://github.com/ptaoussanis/timbre/blob/master/target/classes/taoensso/timbre/appenders/core.clj#L69">view source</a></div></div><div class="public anchor" id="var-spit-appender"><h3>spit-appender</h3><div class="usage"><code>(spit-appender &amp; [{:keys [fname], :or {fname "./timbre-spit.log"}}])</code></div><div class="doc"><pre class="plaintext">Returns a simple `spit` file appender for Clojure.
</pre></div><div class="src-link"><a href="https://github.com/ptaoussanis/timbre/blob/master/target/classes/taoensso/timbre/appenders/core.clj#L116">view source</a></div></div></div></body></html>