Browse files

Wrap 95109b7 body expansion in `(do)` for hygiene

  • Loading branch information...
1 parent 7961a8d commit 62ed4086ea8c95d2b9f096f60e9fa835e2080fae @ptaoussanis committed Jul 20, 2013
Showing with 4 additions and 4 deletions.
  1. +2 −2 README.md
  2. +1 −1 project.clj
  3. +1 −1 src/taoensso/timbre/profiling.clj
View
4 README.md
@@ -1,7 +1,7 @@
**[API docs](http://ptaoussanis.github.io/timbre/)** | **[CHANGELOG](https://github.com/ptaoussanis/timbre/blob/master/CHANGELOG.md)** | [contact & contributing](#contact--contributing) | [other Clojure libs](https://www.taoensso.com/clojure-libraries) | [Twitter](https://twitter.com/#!/ptaoussanis) | current [semantic](http://semver.org/) version:
```clojure
-[com.taoensso/timbre "2.3.2"] ; See CHANGELOG for breaking changes since 1.x
+[com.taoensso/timbre "2.3.3"] ; See CHANGELOG 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.3.2"] ; project.clj
+[com.taoensso/timbre "2.3.3"] ; project.clj
(ns my-app (:require [taoensso.timbre :as timbre
:refer (trace debug info warn error fatal spy with-log-level)])) ; ns
```
View
2 project.clj
@@ -1,4 +1,4 @@
-(defproject com.taoensso/timbre "2.3.2"
+(defproject com.taoensso/timbre "2.3.3"
:description "Clojure logging & profiling library"
:url "https://github.com/ptaoussanis/timbre"
:license {:name "Eclipse Public License"
View
2 src/taoensso/timbre/profiling.clj
@@ -54,7 +54,7 @@
(let [name# ~name
start-time# (System/nanoTime)]
(try
- ~@body
+ (do ~@body)
(finally
(let [elapsed# (- (System/nanoTime) start-time#)]
(swap! *pdata* #(assoc % name# (conj (% name# []) elapsed#))))))))))

0 comments on commit 62ed408

Please sign in to comment.