mirror of https://github.com/status-im/timbre.git
README housekeeping
This commit is contained in:
parent
542d76ae23
commit
acf9ee8563
|
@ -26,7 +26,7 @@ Timbre offers an **all Clojure/Script** alternative that **works out the box**.
|
||||||
* **Zero overhead** with **complete Clj+Cljs elision** for compile-time level/ns filters
|
* **Zero overhead** with **complete Clj+Cljs elision** for compile-time level/ns filters
|
||||||
* Useful built-in appenders for **out-the-box** Clj+Cljs logging
|
* Useful built-in appenders for **out-the-box** Clj+Cljs logging
|
||||||
* Powerful, easy-to-configure per-appender **rate limits** and **async logging**
|
* Powerful, easy-to-configure per-appender **rate limits** and **async logging**
|
||||||
* [Logs as Clojure values] (v3+)
|
* [Logs as Clojure values][] (v3+)
|
||||||
* [tools.logging] support (optional, useful when integrating with legacy logging systems)
|
* [tools.logging] support (optional, useful when integrating with legacy logging systems)
|
||||||
* Level and ns-filter aware **logging profiler**
|
* Level and ns-filter aware **logging profiler**
|
||||||
* Small, simple, cross-platform codebase
|
* Small, simple, cross-platform codebase
|
||||||
|
@ -50,7 +50,6 @@ Add the necessary dependency to your project:
|
||||||
And setup your namespace imports:
|
And setup your namespace imports:
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
|
|
||||||
(ns my-clj-ns ; Clojure namespace
|
(ns my-clj-ns ; Clojure namespace
|
||||||
(:require
|
(:require
|
||||||
[taoensso.timbre :as timbre
|
[taoensso.timbre :as timbre
|
||||||
|
@ -88,7 +87,7 @@ By default, Timbre gives you basic `println` and `js/console` (v4+) output at a
|
||||||
(trace "This won't print due to insufficient log level") => nil
|
(trace "This won't print due to insufficient log level") => nil
|
||||||
```
|
```
|
||||||
|
|
||||||
First-argument exceptions generate a nicely cleaned-up stack trace using [io.aviso.exception] (Clj only):
|
First-argument exceptions generate a nicely cleaned-up stack trace using [io.aviso.exception][] (Clj only):
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
(info (Exception. "Oh noes") "arg1" "arg2")
|
(info (Exception. "Oh noes") "arg1" "arg2")
|
||||||
|
|
Loading…
Reference in New Issue