mirror of
https://github.com/taoensso/telemere.git
synced 2025-12-16 17:41:12 +00:00
[fix] [#20] Wrong :arglists meta on spy!
This commit is contained in:
parent
d9c3583631
commit
568906c96b
1 changed files with 11 additions and 1 deletions
|
|
@ -418,7 +418,7 @@
|
|||
ctx parent root trace?, do let data msg error #_run & kvs]}
|
||||
error])
|
||||
|
||||
(:trace! :spy!) ; [form] [id-or-opts form] => run result (value or throw)
|
||||
:trace! ; [form] [id-or-opts form] => run result (value or throw)
|
||||
'([ form]
|
||||
[id form]
|
||||
[{:as opts :keys
|
||||
|
|
@ -428,6 +428,16 @@
|
|||
ctx parent root trace?, do let data msg error run & kvs]}
|
||||
form])
|
||||
|
||||
:spy! ; [form] [level-or-opts form] => run result (value or throw)
|
||||
'([ form]
|
||||
[level form]
|
||||
[{:as opts :keys
|
||||
[#_defaults #_elide? #_allow? #_expansion-id,
|
||||
elidable? location #_location* inst uid middleware,
|
||||
sample-rate kind ns id level when rate-limit rate-limit-by,
|
||||
ctx parent root trace?, do let data msg error run & kvs]}
|
||||
form])
|
||||
|
||||
:catch->error! ; [form] [id-or-opts form] => run result (value or throw)
|
||||
'([ form]
|
||||
[id form]
|
||||
|
|
|
|||
Loading…
Reference in a new issue