diff --git a/project.clj b/project.clj index 8ac6c359..ea1e3c47 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject com.taoensso/timbre "5.1.0" +(defproject com.taoensso/timbre "5.1.1" :author "Peter Taoussanis " :description "Pure Clojure/Script logging library" :url "https://github.com/ptaoussanis/timbre" diff --git a/src/taoensso/timbre.cljc b/src/taoensso/timbre.cljc index 782f4c39..97c7f6fe 100644 --- a/src/taoensso/timbre.cljc +++ b/src/taoensso/timbre.cljc @@ -43,8 +43,7 @@ {:keys [level ?err #_vargs msg_ ?ns-str ?file hostname_ timestamp_ ?line]} data] (str - (force timestamp_) - " " + (let [ts (force timestamp_)] (when ts (str ts " "))) #?(:clj (force hostname_)) #?(:clj " ") (str/upper-case (name level)) " " "[" (or ?ns-str ?file "?") ":" (or ?line "?") "] - "