mirror of
https://github.com/taoensso/telemere.git
synced 2026-01-07 17:39:50 +00:00
[new] Document env config for tools-logging->telemere!
This commit is contained in:
parent
1b41bf2336
commit
65e1c68ea7
1 changed files with 7 additions and 1 deletions
|
|
@ -37,7 +37,13 @@
|
||||||
(get-logger [_ logger-ns] (TelemereLogger. (str logger-ns))))
|
(get-logger [_ logger-ns] (TelemereLogger. (str logger-ns))))
|
||||||
|
|
||||||
(defn ^:public tools-logging->telemere!
|
(defn ^:public tools-logging->telemere!
|
||||||
"Configures `clojure.tools.logging` to use Telemere as its logging implementation."
|
"Configures `clojure.tools.logging` to use Telemere as its logging implementation.
|
||||||
|
|
||||||
|
Will be AUTOMATICALLY called if `clojure.tools.logging` is present and any of the
|
||||||
|
following are \"true\":
|
||||||
|
- `clojure.tools.logging->telemere?` JVM propety value
|
||||||
|
- `CLOJURE_TOOLS_LOGGING_>TELEMERE?` Environment variable
|
||||||
|
- `clojure.tools.logging->telemere?` Classpath resource content"
|
||||||
[]
|
[]
|
||||||
(impl/signal!
|
(impl/signal!
|
||||||
{:kind :event
|
{:kind :event
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue