mirror of
https://github.com/status-im/timbre.git
synced 2025-01-16 14:54:58 +00:00
Fix ex-data separator
This commit is contained in:
parent
092f3b7925
commit
5d4e5f2739
@ -1,7 +1,7 @@
|
|||||||
Current [semantic](http://semver.org/) version:
|
Current [semantic](http://semver.org/) version:
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
[com.taoensso/timbre "2.1.0"] ; See commit history for breaking changes since 1.x
|
[com.taoensso/timbre "2.1.1"] ; See commit history for breaking changes since 1.x
|
||||||
```
|
```
|
||||||
|
|
||||||
# Timbre, a (sane) Clojure logging & profiling library
|
# Timbre, a (sane) Clojure logging & profiling library
|
||||||
@ -26,7 +26,7 @@ Logging with Java can be maddeningly, unnecessarily hard. Particularly if all yo
|
|||||||
Add the necessary dependency to your [Leiningen](http://leiningen.org/) `project.clj` and `require` the library in your ns:
|
Add the necessary dependency to your [Leiningen](http://leiningen.org/) `project.clj` and `require` the library in your ns:
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
[com.taoensso/timbre "2.1.0"] ; project.clj
|
[com.taoensso/timbre "2.1.1"] ; project.clj
|
||||||
(ns my-app (:require [taoensso.timbre :as timbre
|
(ns my-app (:require [taoensso.timbre :as timbre
|
||||||
:refer (trace debug info warn error fatal spy)])) ; ns
|
:refer (trace debug info warn error fatal spy)])) ; ns
|
||||||
```
|
```
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
(defproject com.taoensso/timbre "2.1.0"
|
(defproject com.taoensso/timbre "2.1.1"
|
||||||
:description "Clojure logging & profiling library"
|
:description "Clojure logging & profiling library"
|
||||||
:url "https://github.com/ptaoussanis/timbre"
|
:url "https://github.com/ptaoussanis/timbre"
|
||||||
:license {:name "Eclipse Public License"
|
:license {:name "Eclipse Public License"
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
(defn stacktrace [throwable & [separator]]
|
(defn stacktrace [throwable & [separator]]
|
||||||
(when throwable
|
(when throwable
|
||||||
(str separator (when-let [d (ex-data throwable)] (str d separator))
|
(str separator (when-let [d (ex-data throwable)] (str d " "))
|
||||||
(stacktrace/pst-str throwable))))
|
(stacktrace/pst-str throwable))))
|
||||||
|
|
||||||
;;;; Default configuration and appenders
|
;;;; Default configuration and appenders
|
||||||
|
Loading…
x
Reference in New Issue
Block a user