Timbre 4.7.0
Pure Clojure/Script logging library.
Installation
To install, add the following dependency to your project or build file:
[com.taoensso/timbre "4.7.0"]
Namespaces
taoensso.timbre
Simple, flexible logging for Clojure/Script. No XML.
Public variables and functions:
- *config*
- *context*
- -elide?
- -levels-map
- -levels-set
- -levels-vec
- -log!
- -log-and-rethrow-errors
- -log-errors
- -logged-future
- -spy
- color-str
- compile-ns-filter
- debug
- debugf
- default-err
- default-out
- default-output-fn
- default-timestamp-opts
- error
- errorf
- example-config
- fatal
- fatalf
- get-?hostname
- get-?hostname_
- 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
- may-log?
- 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
- valid-level
- valid-level?
- 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 that sends GELF messages to a centralized logging server (e.g. Graylog). Requires https://github.com/Graylog2/gelfclient.
Public variables and functions:
taoensso.timbre.appenders.3rd-party.irclj
IRC appender. Requires https://github.com/flatland/irclj.
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
Slack appender. Requires https://github.com/julienXX/clj-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
DEPRECATED, further development work will be focused on Tufte at https://github.com/ptaoussanis/tufte.
Public variables and functions:
taoensso.timbre.tools.logging
`clojure.tools.logging.impl/Logger` implementation.
Public variables and functions: