mirror of https://github.com/status-im/timbre.git
[#67] Add (deprecated) `logp` macro back from v3.x
This commit is contained in:
parent
8ddd5a1dc9
commit
2abc1dd3d3
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue