mirror of https://github.com/status-im/timbre.git
hk: update `refer-timbre` (notably add profiling stuff)
This commit is contained in:
parent
383e52aac1
commit
f2e18925b2
|
@ -420,12 +420,23 @@
|
|||
|
||||
(defn refer-timbre
|
||||
"Shorthand for:
|
||||
(require '[taoensso.timbre :as timbre
|
||||
:refer (trace debug info warn error fatal report spy with-log-level)])"
|
||||
(require
|
||||
'[taoensso.timbre :as timbre
|
||||
:refer (log trace debug info warn error fatal report
|
||||
logf tracef debugf infof warnf errorf fatalf reportf
|
||||
spy logged-future with-log-level)])
|
||||
(require '[taoensso.timbre.utils :refer (sometimes)])
|
||||
(require
|
||||
'[taoensso.timbre.profiling :as profiling :refer (pspy profile defnp)])"
|
||||
[]
|
||||
(require '[taoensso.timbre :as timbre
|
||||
:refer (log trace debug info warn error fatal report spy with-log-level
|
||||
logf tracef debugf infof warnf errorf fatalf reportf)]))
|
||||
(require
|
||||
'[taoensso.timbre :as timbre
|
||||
:refer (log trace debug info warn error fatal report
|
||||
logf tracef debugf infof warnf errorf fatalf reportf
|
||||
spy logged-future with-log-level)])
|
||||
(require '[taoensso.timbre.utils :refer (sometimes)])
|
||||
(require
|
||||
'[taoensso.timbre.profiling :as profiling :refer (pspy profile defnp)]))
|
||||
|
||||
;;;; Deprecated
|
||||
|
||||
|
|
Loading…
Reference in New Issue