hk: update `refer-timbre` (notably add profiling stuff)

This commit is contained in:
Peter Taoussanis 2013-11-26 12:58:13 +07:00
parent 383e52aac1
commit f2e18925b2
1 changed files with 16 additions and 5 deletions

View File

@ -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