From f2e18925b2e8a754619aa0f8a78313acd8f0b92e Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Tue, 26 Nov 2013 12:58:13 +0700 Subject: [PATCH] hk: update `refer-timbre` (notably add profiling stuff) --- src/taoensso/timbre.clj | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/src/taoensso/timbre.clj b/src/taoensso/timbre.clj index 0200a3c..f094659 100644 --- a/src/taoensso/timbre.clj +++ b/src/taoensso/timbre.clj @@ -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