From 2abc1dd3d3a36f66e537d23fce78d08be9b89f5d Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Sat, 26 Sep 2015 12:13:29 +0700 Subject: [PATCH] [#67] Add (deprecated) `logp` macro back from v3.x --- src/taoensso/timbre.cljx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/taoensso/timbre.cljx b/src/taoensso/timbre.cljx index 17e0c9c..d8cd688 100644 --- a/src/taoensso/timbre.cljx +++ b/src/taoensso/timbre.cljx @@ -579,3 +579,4 @@ (defmacro with-log-level [level & body] `(with-level ~level ~@body)) (defmacro with-logging-config [config & body] `(with-config ~config ~@body)) (defn logging-enabled? [level compile-time-ns] (log? level (str compile-time-ns))) +(defmacro logp [& sigs] `(log ~@sigs))