mirror of
https://github.com/taoensso/telemere.git
synced 2025-12-17 09:51:12 +00:00
[fix] [#32] Fix clj-kondo warnings
Note also related Encore-side PR: https://github.com/taoensso/encore/pull/84
This commit is contained in:
parent
bb3d351be8
commit
c60f33edeb
1 changed files with 17 additions and 0 deletions
|
|
@ -35,6 +35,23 @@
|
||||||
|
|
||||||
;;;; Shared signal API
|
;;;; Shared signal API
|
||||||
|
|
||||||
|
(declare ; Needed to avoid `clj-kondo` "Unresolved var" warnings
|
||||||
|
level-aliases
|
||||||
|
help:filters help:handler help:handler-dispatch-options
|
||||||
|
get-filters get-min-levels get-handlers get-handlers-stats
|
||||||
|
|
||||||
|
#?(:clj without-filters)
|
||||||
|
set-kind-filter! #?(:clj with-kind-filter)
|
||||||
|
set-ns-filter! #?(:clj with-ns-filter)
|
||||||
|
set-id-filter #?(:clj with-id-filter)
|
||||||
|
set-min-level! #?(:clj with-min-level)
|
||||||
|
|
||||||
|
#?(:clj with-handler) #?(:clj with-handler+)
|
||||||
|
add-handler! remove-handler! stop-handlers!
|
||||||
|
|
||||||
|
^:dynamic *ctx* set-ctx! #?(:clj with-ctx) #?(:clj with-ctx+)
|
||||||
|
^:dynamic *middleware* set-middleware! #?(:clj with-middleware) #?(:clj with-middleware+))
|
||||||
|
|
||||||
(sigs/def-api
|
(sigs/def-api
|
||||||
{:sf-arity 4
|
{:sf-arity 4
|
||||||
:ct-call-filter impl/ct-call-filter
|
:ct-call-filter impl/ct-call-filter
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue