From 5d4e5f2739af83a4c24f2d163fe0fc59ff126d09 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Fri, 7 Jun 2013 20:21:02 +0700 Subject: [PATCH] Fix ex-data separator --- README.md | 4 ++-- project.clj | 2 +- src/taoensso/timbre.clj | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9bc5138..4ca2ffa 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Current [semantic](http://semver.org/) version: ```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 @@ -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: ```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 :refer (trace debug info warn error fatal spy)])) ; ns ``` diff --git a/project.clj b/project.clj index d453d10..4ca038f 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject com.taoensso/timbre "2.1.0" +(defproject com.taoensso/timbre "2.1.1" :description "Clojure logging & profiling library" :url "https://github.com/ptaoussanis/timbre" :license {:name "Eclipse Public License" diff --git a/src/taoensso/timbre.clj b/src/taoensso/timbre.clj index ebd842e..93bfd19 100644 --- a/src/taoensso/timbre.clj +++ b/src/taoensso/timbre.clj @@ -40,7 +40,7 @@ (defn stacktrace [throwable & [separator]] (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)))) ;;;; Default configuration and appenders