From d8b35e14cc1640c914bba4f0bd4d990956d871b1 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Thu, 3 Jan 2013 23:13:55 +0700 Subject: [PATCH] Label stacktraces in output --- src/taoensso/timbre.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/taoensso/timbre.clj b/src/taoensso/timbre.clj index 82e5771..2fcb51c 100644 --- a/src/taoensso/timbre.clj +++ b/src/taoensso/timbre.clj @@ -273,7 +273,8 @@ :message (if has-throwable?# (or (first xs#) x1#) x1#) :more (if has-throwable?# (conj (vec (rest xs#)) - (str "\n" (stacktrace/pst-str x1#))) + (str "\nStacktrace:\n" + (stacktrace/pst-str x1#))) (vec xs#))})] (juxt-fn# appender-args#)