aboutsummaryrefslogtreecommitdiff
path: root/logging-api.html
diff options
context:
space:
mode:
authorTom Faulhaber <git_net@infolace.com>2009-08-07 23:37:28 -0700
committerTom Faulhaber <git_net@infolace.com>2009-08-07 23:37:28 -0700
commite61d6780abaff6a750f56a75d6d68ebace0181df (patch)
treeb8ce82d1f6c04ec57e4a9b229a95d2285062ee0e /logging-api.html
parent7dfd694e88d7248ee8050431b5ab4b570440eba2 (diff)
Updated documentation for commit 6dd2205627cd524894b1175da20ce9c5ac65aef7
Diffstat (limited to 'logging-api.html')
-rw-r--r--logging-api.html59
1 files changed, 31 insertions, 28 deletions
diff --git a/logging-api.html b/logging-api.html
index a8b7d280..8e1cf2b5 100644
--- a/logging-api.html
+++ b/logging-api.html
@@ -34,7 +34,7 @@ namespace.
<a class="wiki_link" href="api-index.html">API Index</a><br />
<a class="wiki_link" href="#">Namespaces:</a>
<ul id="left-sidebar-list">
- <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="json.read-api.html" class="wiki_link">json.read</a></li><li><a href="json.write-api.html" class="wiki_link">json.write</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li>
+ <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json.read-api.html" class="wiki_link">json.read</a></li><li><a href="json.write-api.html" class="wiki_link">json.write</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li>
</ul>
</div>
</div>
@@ -117,7 +117,7 @@ macro-expansion-time a specific implementation is selected from, in order,
Apache commons-logging, log4j, and finally java.util.logging.
Logging levels are specified by clojure keywords corresponding to the
-values used in log4j/commons-logging:
+values used in log4j and commons-logging:
:trace, :debug, :info, :warn, :error, :fatal
Logging occurs with the log macro, or the level-specific convenience macros,
@@ -126,13 +126,16 @@ disabled, but can be enabled via the *allow-direct-logging* boolean atom. If
logging is invoked within a transaction it will always use an agent.
The log macros will not evaluate their 'message' unless the specific logging
-level is in effect.
-
-Alternately, you can use the spy macro when you have code that needs to be
-evaluated, and also want to output the code and its result to the debug log.
+level is in effect. Alternately, you can use the spy macro when you have code
+that needs to be evaluated, and also want to output the code and its result to
+the debug log.
Unless otherwise specified, the current namespace (as identified by *ns*) will
be used as the log-ns (similar to how the java class name is usually used).
+Note: your log configuration should display the name that was passed to the
+logging implementation, and not perform stack-inspection, otherwise you'll see
+something like "clojure.contrib.logging$fn__72$write__39__auto____81 invoke"
+in your logs.
Use the enabled? function to write conditional code against the logging level
(beyond simply whether or not to call log, which is handled automatically).
@@ -150,7 +153,7 @@ needs to be specified to namespace the output.</pre>
<pre id="var-usage"></pre>
<pre id="var-docstr">A boolean atom indicating whether direct logging (as opposed to via an agent)
is allowed when not operating from within a transaction. Defaults to false.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L164" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L169" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/*log-system*">*log-system*</h2>
@@ -158,14 +161,14 @@ is allowed when not operating from within a transaction. Defaults to false.</pre
<pre id="var-usage"></pre>
<pre id="var-docstr">An atom holding the default log-system initialized to the first
implementation found from: Apache commons-logging, log4j, java.util.logging.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L147" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L152" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/*log-system-agent*">*log-system-agent*</h2>
<span id="var-type">var</span><br />
<pre id="var-usage"></pre>
<pre id="var-docstr">The default agent referencing *log-system*.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L159" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L164" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/*old-std-streams*">*old-std-streams*</h2>
@@ -173,7 +176,7 @@ implementation found from: Apache commons-logging, log4j, java.util.logging.</pr
<pre id="var-usage"></pre>
<pre id="var-docstr">A ref used by log-capture! to maintain a reference to the original System.out
and System.err streams.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L218" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L223" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/commons-logging">commons-logging</h2>
@@ -182,7 +185,7 @@ and System.err streams.</pre>
</pre>
<pre id="var-docstr">Creates a log-system struct using the Apache commons-logging API,
if present, otherwise nil. End-users should not need to invoke this macro.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L60" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L63" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/debug">debug</h2>
@@ -191,7 +194,7 @@ if present, otherwise nil. End-users should not need to invoke this macro.</pre>
(debug message throwable)
</pre>
<pre id="var-docstr">Logs a message at the debug level.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L269" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L274" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/do-log">do-log</h2>
@@ -200,7 +203,7 @@ if present, otherwise nil. End-users should not need to invoke this macro.</pre>
</pre>
<pre id="var-docstr">Logs the message immediately if the specific logging level is enabled. Use
the log macro in preference to this function.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L136" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L141" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/enabled?">enabled?</h2>
@@ -211,7 +214,7 @@ the log macro in preference to this function.</pre>
<pre id="var-docstr">Returns true if the specific logging level is enabled. Use of this function
should only be necessary if one needs to execute alternate code paths beyond
whether the log should be written to.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L185" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L190" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/error">error</h2>
@@ -220,7 +223,7 @@ whether the log should be written to.</pre>
(error message throwable)
</pre>
<pre id="var-docstr">Logs a message at the error level.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L290" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L295" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/fatal">fatal</h2>
@@ -229,7 +232,7 @@ whether the log should be written to.</pre>
(fatal message throwable)
</pre>
<pre id="var-docstr">Logs a message at the fatal level.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L297" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L302" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/info">info</h2>
@@ -238,7 +241,7 @@ whether the log should be written to.</pre>
(info message throwable)
</pre>
<pre id="var-docstr">Logs a message at the info level.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L276" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L281" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/java-logging">java-logging</h2>
@@ -247,7 +250,7 @@ whether the log should be written to.</pre>
</pre>
<pre id="var-docstr">Creates a log-system struct using the java.util.logging API. End-users
should not need to invoke this macro.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L112" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L115" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/log">log</h2>
@@ -258,7 +261,7 @@ should not need to invoke this macro.</pre>
</pre>
<pre id="var-docstr">Logs a message, either directly or via an agent. See also the level-specific
convenience macros.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L170" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L175" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/log-capture!">log-capture!</h2>
@@ -269,7 +272,7 @@ convenience macros.</pre>
to :info and :error logging, respectively. The specified log-ns value will
be used to namespace all redirected logging. NOTE: this will not redirect
output of *out* or *err*; for that, use with-logs.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L224" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L229" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/log-stream">log-stream</h2>
@@ -278,7 +281,7 @@ output of *out* or *err*; for that, use with-logs.</pre>
</pre>
<pre id="var-docstr">Creates a PrintStream that will output to the log. End-users should not need
to invoke this function.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L203" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L208" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/log-system">log-system</h2>
@@ -290,7 +293,7 @@ The keys are as follows:
:get-log ; fn [log-ns] to obtain a log by string namespace
:enabled? ; fn [log lvl] to check if a particular level is emabled
:write ; fn [log lvl msg ex] to a log a message</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L49" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L52" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/log-uncapture!">log-uncapture!</h2>
@@ -298,7 +301,7 @@ The keys are as follows:
<pre id="var-usage">Usage: (log-uncapture!)
</pre>
<pre id="var-docstr">Restores System.out and System.err to their original values.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L240" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L245" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/log4j-logging">log4j-logging</h2>
@@ -307,7 +310,7 @@ The keys are as follows:
</pre>
<pre id="var-docstr">Creates a log-system struct using the log4j API, if present, otherwise nil.
End-users should not need to invoke this macro.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L88" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L91" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/spy">spy</h2>
@@ -316,7 +319,7 @@ End-users should not need to invoke this macro.</pre>
</pre>
<pre id="var-docstr">Evaluates expr and outputs the form and its result to the debug log; returns
the result of expr.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L196" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L201" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/trace">trace</h2>
@@ -325,7 +328,7 @@ the result of expr.</pre>
(trace message throwable)
</pre>
<pre id="var-docstr">Logs a message at the trace level.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L262" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L267" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/warn">warn</h2>
@@ -334,7 +337,7 @@ the result of expr.</pre>
(warn message throwable)
</pre>
<pre id="var-docstr">Logs a message at the warn level.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L283" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L288" id="var-source">Source</a>
</div><div id="var-entry">
<hr />
<h2 id="logging/with-logs">with-logs</h2>
@@ -344,7 +347,7 @@ the result of expr.</pre>
<pre id="var-docstr">Evaluates exprs in a context in which *out* and *err* are bound to :info and
:error logging, respectively. The specified log-ns value will be used to
namespace all redirected logging.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/2d0079c159a37740173bbe289daca41e48723bfd/src/clojure/contrib/logging.clj#L250" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/6dd2205627cd524894b1175da20ce9c5ac65aef7/src/clojure/contrib/logging.clj#L255" id="var-source">Source</a>
</div>