Timbre 4.4.0
Pure Clojure/Script logging library.
Installation
To install, add the following dependency to your project or build file:
[com.taoensso/timbre "4.4.0"]
Namespaces
taoensso.timbre
Simple, flexible logging for Clojure/Script. No XML.
Public variables and functions:
- *config*
- *context*
- -log!
- -log-and-rethrow-errors
- -log-errors
- -logged-future
- -spy
- -with-elision
- color-str
- debug
- debugf
- default-data-hash-fn
- default-err
- default-out
- default-output-fn
- default-timestamp-opts
- error
- errorf
- example-config
- fatal
- fatalf
- get-env
- get-hostname
- handle-uncaught-jvm-exceptions!
- info
- infof
- level>=
- log
- log!
- log*
- log-and-rethrow-errors
- log-env
- log-errors
- log?
- logf
- logf*
- logged-future
- logging-enabled?
- logp
- merge-config!
- ordered-levels
- println-appender
- refer-timbre
- report
- reportf
- set-config!
- set-level!
- sometimes
- spit-appender
- spy
- stacktrace
- str-println
- swap-config!
- trace
- tracef
- warn
- warnf
- with-config
- with-context
- with-default-outs
- with-level
- with-log-level
- with-logging-config
- with-merged-config
taoensso.timbre.appenders.3rd-party.gelf
Appender to handle sending messages in the gelf format to a centralized logging server (e.g. Graylog)
Public variables and functions:
taoensso.timbre.appenders.3rd-party.postgresql
JDBC PostgreSQL database appender. Requires https://github.com/clojure/java.jdbc, https://github.com/swaldman/c3p0
Public variables and functions:
taoensso.timbre.appenders.3rd-party.slack
Public variables and functions:
taoensso.timbre.appenders.carmine
Carmine (Redis) appender. Requires https://github.com/ptaoussanis/carmine.
Public variables and functions:
taoensso.timbre.appenders.core
Core Timbre appenders without any special dependency requirements. These can be aliased into the main Timbre ns for convenience.
Public variables and functions:
taoensso.timbre.appenders.example
You can copy this namespace if you'd like a starting template for writing your own Timbre appender. PRs for new appenders welcome!
Public variables and functions:
taoensso.timbre.appenders.postal
Email (Postal) appender. Requires https://github.com/drewr/postal.
Public variables and functions:
taoensso.timbre.profiling
Logging profiler for Timbre, adapted from clojure.contrib.profile.
Public variables and functions:
taoensso.timbre.tools.logging
clojure.tools.logging.impl/Logger implementation.
Public variables and functions: