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
|
(defn refer-timbre
|
||||||
"Shorthand for:
|
"Shorthand for:
|
||||||
(require '[taoensso.timbre :as timbre
|
(require
|
||||||
:refer (trace debug info warn error fatal report spy with-log-level)])"
|
'[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
|
(require
|
||||||
:refer (log trace debug info warn error fatal report spy with-log-level
|
'[taoensso.timbre :as timbre
|
||||||
logf tracef debugf infof warnf errorf fatalf reportf)]))
|
: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
|
;;;; Deprecated
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue