2016-02-22 07:51:33 +00:00
< !DOCTYPE html PUBLIC ""
"">
2016-07-19 04:52:47 +00:00
< 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.tools.logging 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.7.0< / 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.irclj.html" > < div class = "inner" > < span class = "tree" > < span class = "top" > < / span > < span class = "bottom" > < / span > < / span > < span > irclj< / span > < / div > < / a > < / li > < li class = "depth-5 branch" > < a href = "taoensso.timbre.appenders.3rd-party.postgresql.html" > < div class = "inner" > < span class = "tree" > < span class = "top" > < / span > < span class = "bottom" > < / span > < / span > < span > postgresql< / 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 branch" > < 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-5" > < a href = "taoensso.timbre.appenders.3rd-party.slack.html" > < div class = "inner" > < span class = "tree" > < span class = "top" > < / span > < span class = "bottom" > < / span > < / span > < span > slack< / span > < / div > < / a > < / li > < li class = "depth-4 branch" > < a href = "taoensso.timbre.appenders.carmine.html" > < div class = "inner" > < span class = "tree" style = "top: -207px;" > < span class = "top" style = "height: 216px;" > < / span > < span class = "bottom" > < / span > < / span > < span > carmine< / span > < / div > < / a > < / li > < li class = "depth-4 branch" > < 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 branch" > < a href = "taoensso.timbre.appenders.example.html" > < div class = "inner" > < span class = "tree" > < span class = "top" > < / span > < span class = "bottom" > < / span > < / span > < span > example< / 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: -362px;" > < span class = "top" style = "height: 371px;" > < / 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 >
2016-02-22 07:51:33 +00:00
Please note that the tools.logging API has some significant limits
that native Timbre does not. Would strongly recommend against using
Timbre through tools.logging unless you absolutely must (e.g. you're
2016-07-12 04:27:21 +00:00
working with a legacy codebase).< / pre > < / div > < div class = "public anchor" id = "var--.3ELogger" > < h3 > -> Logger< / h3 > < div class = "usage" > < code > (-> Logger logger-ns-str timbre-config)< / code > < / div > < div class = "doc" > < pre class = "plaintext" > Positional factory function for class taoensso.timbre.tools.logging.Logger.
< / pre > < / div > < div class = "src-link" > < a href = "https://github.com/ptaoussanis/timbre/blob/master/src/taoensso/timbre/tools/logging.clj#L13" > view source< / a > < / div > < / div > < div class = "public anchor" id = "var--.3ELoggerFactory" > < h3 > -> LoggerFactory< / h3 > < div class = "usage" > < code > (-> LoggerFactory get-logger-fn)< / code > < / div > < div class = "doc" > < pre class = "plaintext" > Positional factory function for class taoensso.timbre.tools.logging.LoggerFactory.
< / pre > < / div > < div class = "src-link" > < a href = "https://github.com/ptaoussanis/timbre/blob/master/src/taoensso/timbre/tools/logging.clj#L32" > view source< / a > < / div > < / div > < div class = "public anchor" id = "var-use-timbre" > < h3 > use-timbre< / h3 > < div class = "usage" > < code > (use-timbre)< / code > < code > (use-timbre timbre-config)< / code > < / div > < div class = "doc" > < pre class = "plaintext" > Sets the root binding of `clojure.tools.logging/*logger-factory*`
to use Timbre.< / pre > < / div > < div class = "src-link" > < a href = "https://github.com/ptaoussanis/timbre/blob/master/src/taoensso/timbre/tools/logging.clj#L37" > view source< / a > < / div > < / div > < / div > < / body > < / html >