mirror of https://github.com/status-im/timbre.git
[#157] Hotfix: profile macro refering to removed var
This commit is contained in:
parent
551b1e9dbf
commit
10c5ebc426
|
@ -92,9 +92,9 @@
|
|||
[level id & body]
|
||||
`(let [{result# :result stats# :stats} (with-pdata ~level ~@body)]
|
||||
(when stats#
|
||||
(timbre/log1-macro timbre/*config* ~level :f
|
||||
(timbre/log! ~level :f
|
||||
["Profiling: %s\n%s" (fq-keyword ~id) (format-stats stats#)]
|
||||
{:profile-stats stats#}))
|
||||
{:?base-data {:profile-stats stats#}}))
|
||||
result#))
|
||||
|
||||
(defmacro sampling-profile
|
||||
|
|
Loading…
Reference in New Issue