This commit is contained in:
Peter Taoussanis 2013-10-03 21:50:53 +07:00
parent 80000526cc
commit 4f67533999
7 changed files with 60 additions and 51 deletions

View File

@ -102,8 +102,7 @@ h2 {
float: right;
font-size: 9pt;
font-weight: normal;
width: 10em;
margin: 3px 0;
margin: 3px 3px;
color: #bbb;
}

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html><head><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>Timbre 2.0.0 API 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">Timbre 2.0.0 API documentation</a></h1></div><div class="sidebar" id="namespaces"><h3><span>Namespaces</span></h3><ul><li><a href="taoensso.timbre.html"><span>taoensso.timbre</span></a></li><li><a href="taoensso.timbre.frequencies.html"><span>taoensso.timbre.frequencies</span></a></li><li><a href="taoensso.timbre.profiling.html"><span>taoensso.timbre.profiling</span></a></li><li><a href="taoensso.timbre.utils.html"><span>taoensso.timbre.utils</span></a></li></ul></div><div class="namespace-index" id="content"><h2>Timbre 2.0.0 API documentation</h2><div class="doc">Clojure logging &amp; profiling library</div><div class="namespace"><h3><a href="taoensso.timbre.html"><span>taoensso.timbre</span></a></h3><pre class="doc">Simple, flexible, all-Clojure logging. No XML!
</pre><div class="index"><p>Public variables and functions:</p><ul><li><a href="taoensso.timbre.html#var-appenders-juxt-cache"><span>appenders-juxt-cache</span></a></li><li><a href="taoensso.timbre.html#var-config"><span>config</span></a></li><li><a href="taoensso.timbre.html#var-debug"><span>debug</span></a></li><li><a href="taoensso.timbre.html#var-debugf"><span>debugf</span></a></li><li><a href="taoensso.timbre.html#var-error"><span>error</span></a></li><li><a href="taoensso.timbre.html#var-errorf"><span>errorf</span></a></li><li><a href="taoensso.timbre.html#var-fatal"><span>fatal</span></a></li><li><a href="taoensso.timbre.html#var-fatalf"><span>fatalf</span></a></li><li><a href="taoensso.timbre.html#var-info"><span>info</span></a></li><li><a href="taoensso.timbre.html#var-infof"><span>infof</span></a></li><li><a href="taoensso.timbre.html#var-log"><span>log</span></a></li><li><a href="taoensso.timbre.html#var-log*"><span>log*</span></a></li><li><a href="taoensso.timbre.html#var-logf"><span>logf</span></a></li><li><a href="taoensso.timbre.html#var-logging-enabled%3F"><span>logging-enabled?</span></a></li><li><a href="taoensso.timbre.html#var-logp"><span>logp</span></a></li><li><a href="taoensso.timbre.html#var-ns-filter-cache"><span>ns-filter-cache</span></a></li><li><a href="taoensso.timbre.html#var-report"><span>report</span></a></li><li><a href="taoensso.timbre.html#var-reportf"><span>reportf</span></a></li><li><a href="taoensso.timbre.html#var-spy"><span>spy</span></a></li><li><a href="taoensso.timbre.html#var-str-println"><span>str-println</span></a></li><li><a href="taoensso.timbre.html#var-trace"><span>trace</span></a></li><li><a href="taoensso.timbre.html#var-tracef"><span>tracef</span></a></li><li><a href="taoensso.timbre.html#var-warn"><span>warn</span></a></li><li><a href="taoensso.timbre.html#var-warnf"><span>warnf</span></a></li><li><a href="taoensso.timbre.html#var-with-default-outs"><span>with-default-outs</span></a></li><li><a href="taoensso.timbre.html#var-with-err-as-out"><span>with-err-as-out</span></a></li></ul></div></div><div class="namespace"><h3><a href="taoensso.timbre.frequencies.html"><span>taoensso.timbre.frequencies</span></a></h3><pre class="doc">Frequency logger for Timbre. ALPHA quality.
</pre><div class="index"><p>Public variables and functions:</p><ul><li><a href="taoensso.timbre.frequencies.html#var-*fdata*"><span>*fdata*</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-fspy"><span>fspy</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-log-frequencies"><span>log-frequencies</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-sampling-log-frequencies"><span>sampling-log-frequencies</span></a></li></ul></div></div><div class="namespace"><h3><a href="taoensso.timbre.profiling.html"><span>taoensso.timbre.profiling</span></a></h3><pre class="doc">Logging profiler for Timbre, adapted from clojure.contrib.profile.
</pre><div class="index"><p>Public variables and functions:</p><ul><li><a href="taoensso.timbre.profiling.html#var-*pdata*"><span>*pdata*</span></a></li><li><a href="taoensso.timbre.profiling.html#var-pdata-stats"><span>pdata-stats</span></a></li><li><a href="taoensso.timbre.profiling.html#var-profile"><span>profile</span></a></li><li><a href="taoensso.timbre.profiling.html#var-pspy"><span>pspy</span></a></li><li><a href="taoensso.timbre.profiling.html#var-sampling-profile"><span>sampling-profile</span></a></li></ul></div></div><div class="namespace"><h3><a href="taoensso.timbre.utils.html"><span>taoensso.timbre.utils</span></a></h3><pre class="doc"></pre><div class="index"><p>Public variables and functions:</p><ul><li><a href="taoensso.timbre.utils.html#var-deep-merge-with"><span>deep-merge-with</span></a></li><li><a href="taoensso.timbre.utils.html#var-defonce*"><span>defonce*</span></a></li><li><a href="taoensso.timbre.utils.html#var-fq-keyword"><span>fq-keyword</span></a></li><li><a href="taoensso.timbre.utils.html#var-memoize-ttl"><span>memoize-ttl</span></a></li><li><a href="taoensso.timbre.utils.html#var-round-to"><span>round-to</span></a></li></ul></div></div></div></body></html>
<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>Timbre 2.6.2 API 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">Timbre 2.6.2 API documentation</a></h1></div><div class="sidebar" id="namespaces"><h3><span>Namespaces</span></h3><ul><li><a href="taoensso.timbre.html"><span>taoensso.timbre</span></a></li><li><a href="taoensso.timbre.frequencies.html"><span>taoensso.timbre.frequencies</span></a></li><li><a href="taoensso.timbre.profiling.html"><span>taoensso.timbre.profiling</span></a></li><li><a href="taoensso.timbre.utils.html"><span>taoensso.timbre.utils</span></a></li></ul></div><div class="namespace-index" id="content"><h2>Timbre 2.6.2 API documentation</h2><div class="doc">Clojure logging &amp; profiling library</div><div class="namespace"><h3><a href="taoensso.timbre.html"><span>taoensso.timbre</span></a></h3><pre class="doc">Simple, flexible, all-Clojure logging. No XML!
</pre><div class="index"><p>Public variables and functions:</p><ul><li><a href="taoensso.timbre.html#var-*current-level*"><span>*current-level*</span></a></li><li><a href="taoensso.timbre.html#var-appenders-juxt-cache"><span>appenders-juxt-cache</span></a></li><li><a href="taoensso.timbre.html#var-color-str"><span>color-str</span></a></li><li><a href="taoensso.timbre.html#var-compare-levels"><span>compare-levels</span></a></li><li><a href="taoensso.timbre.html#var-compile-time-level"><span>compile-time-level</span></a></li><li><a href="taoensso.timbre.html#var-config"><span>config</span></a></li><li><a href="taoensso.timbre.html#var-debug"><span>debug</span></a></li><li><a href="taoensso.timbre.html#var-debugf"><span>debugf</span></a></li><li><a href="taoensso.timbre.html#var-default-err"><span>default-err</span></a></li><li><a href="taoensso.timbre.html#var-default-out"><span>default-out</span></a></li><li><a href="taoensso.timbre.html#var-error"><span>error</span></a></li><li><a href="taoensso.timbre.html#var-error-level%3F"><span>error-level?</span></a></li><li><a href="taoensso.timbre.html#var-errorf"><span>errorf</span></a></li><li><a href="taoensso.timbre.html#var-fatal"><span>fatal</span></a></li><li><a href="taoensso.timbre.html#var-fatalf"><span>fatalf</span></a></li><li><a href="taoensso.timbre.html#var-get-hostname"><span>get-hostname</span></a></li><li><a href="taoensso.timbre.html#var-green"><span>green</span></a></li><li><a href="taoensso.timbre.html#var-info"><span>info</span></a></li><li><a href="taoensso.timbre.html#var-infof"><span>infof</span></a></li><li><a href="taoensso.timbre.html#var-log"><span>log</span></a></li><li><a href="taoensso.timbre.html#var-log*"><span>log*</span></a></li><li><a href="taoensso.timbre.html#var-log-and-rethrow-errors"><span>log-and-rethrow-errors</span></a></li><li><a href="taoensso.timbre.html#var-log-errors"><span>log-errors</span></a></li><li><a href="taoensso.timbre.html#var-logf"><span>logf</span></a></li><li><a href="taoensso.timbre.html#var-logged-future"><span>logged-future</span></a></li><li><a href="taoensso.timbre.html#var-logging-enabled%3F"><span>logging-enabled?</span></a></li><li><a href="taoensso.timbre.html#var-logp"><span>logp</span></a></li><li><a href="taoensso.timbre.html#var-merge-config%21"><span>merge-config!</span></a></li><li><a href="taoensso.timbre.html#var-ns-filter-cache"><span>ns-filter-cache</span></a></li><li><a href="taoensso.timbre.html#var-red"><span>red</span></a></li><li><a href="taoensso.timbre.html#var-refer-timbre"><span>refer-timbre</span></a></li><li><a href="taoensso.timbre.html#var-report"><span>report</span></a></li><li><a href="taoensso.timbre.html#var-reportf"><span>reportf</span></a></li><li><a href="taoensso.timbre.html#var-s"><span>s</span></a></li><li><a href="taoensso.timbre.html#var-send-to-appenders%21"><span>send-to-appenders!</span></a></li><li><a href="taoensso.timbre.html#var-set-config%21"><span>set-config!</span></a></li><li><a href="taoensso.timbre.html#var-set-level%21"><span>set-level!</span></a></li><li><a href="taoensso.timbre.html#var-spy"><span>spy</span></a></li><li><a href="taoensso.timbre.html#var-stacktrace"><span>stacktrace</span></a></li><li><a href="taoensso.timbre.html#var-str-println"><span>str-println</span></a></li><li><a href="taoensso.timbre.html#var-sufficient-level%3F"><span>sufficient-level?</span></a></li><li><a href="taoensso.timbre.html#var-taoensso.timbre.proxy%24java.lang.ThreadLocal%240"><span>taoensso.timbre.proxy$java.lang.ThreadLocal$0</span></a></li><li><a href="taoensso.timbre.html#var-trace"><span>trace</span></a></li><li><a href="taoensso.timbre.html#var-tracef"><span>tracef</span></a></li><li><a href="taoensso.timbre.html#var-warn"><span>warn</span></a></li><li><a href="taoensso.timbre.html#var-warnf"><span>warnf</span></a></li><li><a href="taoensso.timbre.html#var-with-default-outs"><span>with-default-outs</span></a></li><li><a href="taoensso.timbre.html#var-with-err-as-out"><span>with-err-as-out</span></a></li><li><a href="taoensso.timbre.html#var-with-log-level"><span>with-log-level</span></a></li><li><a href="taoensso.timbre.html#var-yellow"><span>yellow</span></a></li></ul></div></div><div class="namespace"><h3><a href="taoensso.timbre.frequencies.html"><span>taoensso.timbre.frequencies</span></a></h3><pre class="doc">DEPRECATED.
Frequency logger for Timbre. ALPHA quality.</pre><div class="index"><p>Public variables and functions:</p><ul><li><a href="taoensso.timbre.frequencies.html#var-*fdata*"><span>*fdata*</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-f"><span>f</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-format-fdata"><span>format-fdata</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-fspy"><span>fspy</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-log-frequencies"><span>log-frequencies</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-sampling-log-frequencies"><span>sampling-log-frequencies</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-with-fdata"><span>with-fdata</span></a></li></ul></div></div><div class="namespace"><h3><a href="taoensso.timbre.profiling.html"><span>taoensso.timbre.profiling</span></a></h3><pre class="doc">Logging profiler for Timbre, adapted from clojure.contrib.profile.
</pre><div class="index"><p>Public variables and functions:</p><ul><li><a href="taoensso.timbre.profiling.html#var-*pdata*"><span>*pdata*</span></a></li><li><a href="taoensso.timbre.profiling.html#var-format-pdata"><span>format-pdata</span></a></li><li><a href="taoensso.timbre.profiling.html#var-p"><span>p</span></a></li><li><a href="taoensso.timbre.profiling.html#var-pdata-stats"><span>pdata-stats</span></a></li><li><a href="taoensso.timbre.profiling.html#var-profile"><span>profile</span></a></li><li><a href="taoensso.timbre.profiling.html#var-pspy"><span>pspy</span></a></li><li><a href="taoensso.timbre.profiling.html#var-sampling-profile"><span>sampling-profile</span></a></li><li><a href="taoensso.timbre.profiling.html#var-with-pdata"><span>with-pdata</span></a></li></ul></div></div><div class="namespace"><h3><a href="taoensso.timbre.utils.html"><span>taoensso.timbre.utils</span></a></h3><pre class="doc"></pre><div class="index"><p>Public variables and functions:</p><ul><li><a href="taoensso.timbre.utils.html#var-defonce*"><span>defonce*</span></a></li><li><a href="taoensso.timbre.utils.html#var-fq-keyword"><span>fq-keyword</span></a></li><li><a href="taoensso.timbre.utils.html#var-memoize-ttl"><span>memoize-ttl</span></a></li><li><a href="taoensso.timbre.utils.html#var-merge-deep"><span>merge-deep</span></a></li><li><a href="taoensso.timbre.utils.html#var-merge-deep-with"><span>merge-deep-with</span></a></li><li><a href="taoensso.timbre.utils.html#var-round-to"><span>round-to</span></a></li></ul></div></div></div></body></html>

10
js/jquery.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html><head><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.frequencies 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">Timbre 2.0.0 API documentation</a></h1></div><div class="sidebar" id="namespaces"><h3><span>Namespaces</span></h3><ul><li><a href="taoensso.timbre.html"><span>taoensso.timbre</span></a></li><li class="current"><a href="taoensso.timbre.frequencies.html"><span>taoensso.timbre.frequencies</span></a></li><li><a href="taoensso.timbre.profiling.html"><span>taoensso.timbre.profiling</span></a></li><li><a href="taoensso.timbre.utils.html"><span>taoensso.timbre.utils</span></a></li></ul></div><div class="sidebar" id="vars"><h3>Public Vars</h3><ul><li><a href="taoensso.timbre.frequencies.html#var-*fdata*"><span>*fdata*</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-fspy"><span>fspy</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-log-frequencies"><span>log-frequencies</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-sampling-log-frequencies"><span>sampling-log-frequencies</span></a></li></ul></div><div class="namespace-docs" id="content"><h2>taoensso.timbre.frequencies documentation</h2><pre class="doc">Frequency logger for Timbre. ALPHA quality.
</pre><div class="public" id="var-*fdata*"><h3>*fdata*</h3><div class="usage"></div><pre class="doc">{::fname {form-value frequency}}
</pre></div><div class="public" id="var-fspy"><h3>fspy</h3><h4 class="macro">macro</h4><div class="usage"><code>(fspy name &amp; body)</code></div><pre class="doc">Frequency spy. When in the context of a *fdata* binding, records the frequency
<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.frequencies 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">Timbre 2.6.2 API documentation</a></h1></div><div class="sidebar" id="namespaces"><h3><span>Namespaces</span></h3><ul><li><a href="taoensso.timbre.html"><span>taoensso.timbre</span></a></li><li class="current"><a href="taoensso.timbre.frequencies.html"><span>taoensso.timbre.frequencies</span></a></li><li><a href="taoensso.timbre.profiling.html"><span>taoensso.timbre.profiling</span></a></li><li><a href="taoensso.timbre.utils.html"><span>taoensso.timbre.utils</span></a></li></ul></div><div class="sidebar" id="vars"><h3>Public Vars</h3><ul><li><a href="taoensso.timbre.frequencies.html#var-*fdata*"><span>*fdata*</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-f"><span>f</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-format-fdata"><span>format-fdata</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-fspy"><span>fspy</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-log-frequencies"><span>log-frequencies</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-sampling-log-frequencies"><span>sampling-log-frequencies</span></a></li><li><a href="taoensso.timbre.frequencies.html#var-with-fdata"><span>with-fdata</span></a></li></ul></div><div class="namespace-docs" id="content"><h2>taoensso.timbre.frequencies documentation</h2><pre class="doc">DEPRECATED.
Frequency logger for Timbre. ALPHA quality.</pre><div class="public" id="var-*fdata*"><h3>*fdata*</h3><div class="usage"></div><pre class="doc">{::fname {form-value frequency}}
</pre></div><div class="public" id="var-f"><h3>f</h3><h4 class="macro">macro</h4><div class="usage"><code>(f name &amp; body)</code></div><pre class="doc"></pre></div><div class="public" id="var-format-fdata"><h3>format-fdata</h3><div class="usage"><code>(format-fdata stats)</code></div><pre class="doc"></pre></div><div class="public" id="var-fspy"><h3>fspy</h3><h4 class="macro">macro</h4><div class="usage"><code>(fspy name &amp; body)</code></div><pre class="doc">Frequency spy. When in the context of a *fdata* binding, records the frequency
of each enumerated result. Always returns the body's result.</pre></div><div class="public" id="var-log-frequencies"><h3>log-frequencies</h3><h4 class="macro">macro</h4><div class="usage"><code>(log-frequencies level name &amp; body)</code></div><pre class="doc">When logging is enabled, executes named body with frequency counting enabled.
Body forms wrapped in (fspy) will have their result frequencies logged. Always
returns body's result.
@ -9,4 +9,4 @@ returns body's result.
Note that logging appenders will receive both a formatted frequencies string
AND the raw frequency stats under a special :frequency-stats key (useful for
queryable db logging).</pre></div><div class="public" id="var-sampling-log-frequencies"><h3>sampling-log-frequencies</h3><h4 class="macro">macro</h4><div class="usage"><code>(sampling-log-frequencies level proportion name &amp; body)</code></div><pre class="doc">Like `log-frequencies`, but only enables frequency counting every
1/`proportion` calls. Always returns body's result.</pre></div></div></body></html>
1/`proportion` calls. Always returns body's result.</pre></div><div class="public" id="var-with-fdata"><h3>with-fdata</h3><h4 class="macro">macro</h4><div class="usage"><code>(with-fdata level &amp; body)</code></div><pre class="doc"></pre></div></div></body></html>

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html><head><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.profiling 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">Timbre 2.0.0 API documentation</a></h1></div><div class="sidebar" id="namespaces"><h3><span>Namespaces</span></h3><ul><li><a href="taoensso.timbre.html"><span>taoensso.timbre</span></a></li><li><a href="taoensso.timbre.frequencies.html"><span>taoensso.timbre.frequencies</span></a></li><li class="current"><a href="taoensso.timbre.profiling.html"><span>taoensso.timbre.profiling</span></a></li><li><a href="taoensso.timbre.utils.html"><span>taoensso.timbre.utils</span></a></li></ul></div><div class="sidebar" id="vars"><h3>Public Vars</h3><ul><li><a href="taoensso.timbre.profiling.html#var-*pdata*"><span>*pdata*</span></a></li><li><a href="taoensso.timbre.profiling.html#var-pdata-stats"><span>pdata-stats</span></a></li><li><a href="taoensso.timbre.profiling.html#var-profile"><span>profile</span></a></li><li><a href="taoensso.timbre.profiling.html#var-pspy"><span>pspy</span></a></li><li><a href="taoensso.timbre.profiling.html#var-sampling-profile"><span>sampling-profile</span></a></li></ul></div><div class="namespace-docs" id="content"><h2>taoensso.timbre.profiling documentation</h2><pre class="doc">Logging profiler for Timbre, adapted from clojure.contrib.profile.
<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.profiling 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">Timbre 2.6.2 API documentation</a></h1></div><div class="sidebar" id="namespaces"><h3><span>Namespaces</span></h3><ul><li><a href="taoensso.timbre.html"><span>taoensso.timbre</span></a></li><li><a href="taoensso.timbre.frequencies.html"><span>taoensso.timbre.frequencies</span></a></li><li class="current"><a href="taoensso.timbre.profiling.html"><span>taoensso.timbre.profiling</span></a></li><li><a href="taoensso.timbre.utils.html"><span>taoensso.timbre.utils</span></a></li></ul></div><div class="sidebar" id="vars"><h3>Public Vars</h3><ul><li><a href="taoensso.timbre.profiling.html#var-*pdata*"><span>*pdata*</span></a></li><li><a href="taoensso.timbre.profiling.html#var-format-pdata"><span>format-pdata</span></a></li><li><a href="taoensso.timbre.profiling.html#var-p"><span>p</span></a></li><li><a href="taoensso.timbre.profiling.html#var-pdata-stats"><span>pdata-stats</span></a></li><li><a href="taoensso.timbre.profiling.html#var-profile"><span>profile</span></a></li><li><a href="taoensso.timbre.profiling.html#var-pspy"><span>pspy</span></a></li><li><a href="taoensso.timbre.profiling.html#var-sampling-profile"><span>sampling-profile</span></a></li><li><a href="taoensso.timbre.profiling.html#var-with-pdata"><span>with-pdata</span></a></li></ul></div><div class="namespace-docs" id="content"><h2>taoensso.timbre.profiling documentation</h2><pre class="doc">Logging profiler for Timbre, adapted from clojure.contrib.profile.
</pre><div class="public" id="var-*pdata*"><h3>*pdata*</h3><div class="usage"></div><pre class="doc">{::pname [time1 time2 ...]}
</pre></div><div class="public" id="var-pdata-stats"><h3>pdata-stats</h3><div class="usage"><code>(pdata-stats pdata)</code></div><pre class="doc">{::pname [time1 time2 ...] ...} =&gt; {::pname {:min &lt;min-time&gt; ...} ...}
</pre></div><div class="public" id="var-format-pdata"><h3>format-pdata</h3><div class="usage"><code>(format-pdata stats &amp; [sort-field])</code></div><pre class="doc"></pre></div><div class="public" id="var-p"><h3>p</h3><h4 class="macro">macro</h4><div class="usage"><code>(p name &amp; body)</code></div><pre class="doc"></pre></div><div class="public" id="var-pdata-stats"><h3>pdata-stats</h3><div class="usage"><code>(pdata-stats pdata)</code></div><pre class="doc">{::pname [time1 time2 ...] ...} =&gt; {::pname {:min &lt;min-time&gt; ...} ...}
For performance, stats are calculated once only after all data have been
collected.</pre></div><div class="public" id="var-profile"><h3>profile</h3><h4 class="macro">macro</h4><div class="usage"><code>(profile level name &amp; body)</code></div><pre class="doc">When logging is enabled, executes named body with profiling enabled. Body
@ -12,4 +12,4 @@ Note that logging appenders will receive both a formatted profiling string AND
the raw profiling stats under a special :profiling-stats key (useful for
queryable db logging).</pre></div><div class="public" id="var-pspy"><h3>pspy</h3><h4 class="macro">macro</h4><div class="usage"><code>(pspy name &amp; body)</code></div><pre class="doc">Profile spy. When in the context of a *pdata* binding, records execution time
of named body. Always returns the body's result.</pre></div><div class="public" id="var-sampling-profile"><h3>sampling-profile</h3><h4 class="macro">macro</h4><div class="usage"><code>(sampling-profile level proportion name &amp; body)</code></div><pre class="doc">Like `profile`, but only enables profiling every 1/`proportion` calls.
Always returns body's result.</pre></div></div></body></html>
Always returns body's result.</pre></div><div class="public" id="var-with-pdata"><h3>with-pdata</h3><h4 class="macro">macro</h4><div class="usage"><code>(with-pdata level &amp; body)</code></div><pre class="doc"></pre></div></div></body></html>

View File

@ -1,11 +1,11 @@
<!DOCTYPE html>
<html><head><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.utils 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">Timbre 2.0.0 API documentation</a></h1></div><div class="sidebar" id="namespaces"><h3><span>Namespaces</span></h3><ul><li><a href="taoensso.timbre.html"><span>taoensso.timbre</span></a></li><li><a href="taoensso.timbre.frequencies.html"><span>taoensso.timbre.frequencies</span></a></li><li><a href="taoensso.timbre.profiling.html"><span>taoensso.timbre.profiling</span></a></li><li class="current"><a href="taoensso.timbre.utils.html"><span>taoensso.timbre.utils</span></a></li></ul></div><div class="sidebar" id="vars"><h3>Public Vars</h3><ul><li><a href="taoensso.timbre.utils.html#var-deep-merge-with"><span>deep-merge-with</span></a></li><li><a href="taoensso.timbre.utils.html#var-defonce*"><span>defonce*</span></a></li><li><a href="taoensso.timbre.utils.html#var-fq-keyword"><span>fq-keyword</span></a></li><li><a href="taoensso.timbre.utils.html#var-memoize-ttl"><span>memoize-ttl</span></a></li><li><a href="taoensso.timbre.utils.html#var-round-to"><span>round-to</span></a></li></ul></div><div class="namespace-docs" id="content"><h2>taoensso.timbre.utils documentation</h2><pre class="doc"></pre><div class="public" id="var-deep-merge-with"><h3>deep-merge-with</h3><div class="usage"><code>(deep-merge-with f &amp; maps)</code></div><pre class="doc">Like `merge-with` but merges maps recursively, applying the given fn
only when there's a non-map at a particular level.
(deepmerge-with + {:a {:b {:c 1 :d {:x 1 :y 2}} :e 3} :f 4}
{:a {:b {:c 2 :d {:z 9} :z 3} :e 100}})
=&gt; {:a {:b {:z 3, :c 3, :d {:z 9, :x 1, :y 2}}, :e 103}, :f 4}</pre></div><div class="public" id="var-defonce*"><h3>defonce*</h3><h4 class="macro">macro</h4><div class="usage"><code>(defonce* name expr)</code></div><pre class="doc">Like `clojure.core/defonce` but supports optional docstring and attributes
<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.utils 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">Timbre 2.6.2 API documentation</a></h1></div><div class="sidebar" id="namespaces"><h3><span>Namespaces</span></h3><ul><li><a href="taoensso.timbre.html"><span>taoensso.timbre</span></a></li><li><a href="taoensso.timbre.frequencies.html"><span>taoensso.timbre.frequencies</span></a></li><li><a href="taoensso.timbre.profiling.html"><span>taoensso.timbre.profiling</span></a></li><li class="current"><a href="taoensso.timbre.utils.html"><span>taoensso.timbre.utils</span></a></li></ul></div><div class="sidebar" id="vars"><h3>Public Vars</h3><ul><li><a href="taoensso.timbre.utils.html#var-defonce*"><span>defonce*</span></a></li><li><a href="taoensso.timbre.utils.html#var-fq-keyword"><span>fq-keyword</span></a></li><li><a href="taoensso.timbre.utils.html#var-memoize-ttl"><span>memoize-ttl</span></a></li><li><a href="taoensso.timbre.utils.html#var-merge-deep"><span>merge-deep</span></a></li><li><a href="taoensso.timbre.utils.html#var-merge-deep-with"><span>merge-deep-with</span></a></li><li><a href="taoensso.timbre.utils.html#var-round-to"><span>round-to</span></a></li></ul></div><div class="namespace-docs" id="content"><h2>taoensso.timbre.utils documentation</h2><pre class="doc"></pre><div class="public" id="var-defonce*"><h3>defonce*</h3><h4 class="macro">macro</h4><div class="usage"><code>(defonce* name expr)</code></div><pre class="doc">Like `clojure.core/defonce` but supports optional docstring and attributes
map for name symbol.</pre></div><div class="public" id="var-fq-keyword"><h3>fq-keyword</h3><h4 class="macro">macro</h4><div class="usage"><code>(fq-keyword name)</code></div><pre class="doc">Returns namespaced keyword for given name.
</pre></div><div class="public" id="var-memoize-ttl"><h3>memoize-ttl</h3><div class="usage"><code>(memoize-ttl ttl f)</code></div><pre class="doc">Like `memoize` but invalidates the cache for a set of arguments after TTL
msecs has elapsed.</pre></div><div class="public" id="var-round-to"><h3>round-to</h3><div class="usage"><code>(round-to places x)</code></div><pre class="doc">Rounds argument to given number of decimal places.
msecs has elapsed.</pre></div><div class="public" id="var-merge-deep"><h3>merge-deep</h3><div class="usage"></div><pre class="doc"></pre></div><div class="public" id="var-merge-deep-with"><h3>merge-deep-with</h3><div class="usage"><code>(merge-deep-with f &amp; maps)</code></div><pre class="doc">Like `merge-with` but merges maps recursively, applying the given fn
only when there's a non-map at a particular level.
(merge-deep-with + {:a {:b {:c 1 :d {:x 1 :y 2}} :e 3} :f 4}
{:a {:b {:c 2 :d {:z 9} :z 3} :e 100}})
=&gt; {:a {:b {:z 3, :c 3, :d {:z 9, :x 1, :y 2}}, :e 103}, :f 4}</pre></div><div class="public" id="var-round-to"><h3>round-to</h3><div class="usage"><code>(round-to places x)</code></div><pre class="doc">Rounds argument to given number of decimal places.
</pre></div></div></body></html>