Include `p`, `p*` in `refer-timbre` imports

This commit is contained in:
Peter Taoussanis 2014-03-13 01:25:33 +07:00
parent 85a30fb918
commit f0b1de333e
3 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,7 @@
## Pending / unreleased ## Pending / unreleased
* NEW: Add `profiling/p*` macro. * NEW: Add `profiling/p*` macro.
* CHANGE: Include `p`, `p*` in `refer-timbre` imports.
## v3.1.3 / 2014 Mar 11 ## v3.1.3 / 2014 Mar 11

View File

@ -42,7 +42,8 @@ The `refer-timbre` call is a convenience fn that executes:
:refer (log trace debug info warn error fatal report :refer (log trace debug info warn error fatal report
logf tracef debugf infof warnf errorf fatalf reportf logf tracef debugf infof warnf errorf fatalf reportf
spy logged-future with-log-level sometimes)]) spy logged-future with-log-level sometimes)])
(require '[taoensso.timbre.profiling :as profiling :refer (pspy pspy* profile defnp)]) (require '[taoensso.timbre.profiling :as profiling
:refer (pspy pspy* profile defnp p p*)])
``` ```
### Logging ### Logging

View File

@ -497,7 +497,8 @@
logf tracef debugf infof warnf errorf fatalf reportf logf tracef debugf infof warnf errorf fatalf reportf
spy logged-future with-log-level sometimes)]) spy logged-future with-log-level sometimes)])
(require (require
'[taoensso.timbre.profiling :as profiling :refer (pspy pspy* profile defnp)])" '[taoensso.timbre.profiling :as profiling
:refer (pspy pspy* profile defnp p p*)])"
[] []
(require (require
'[taoensso.timbre :as timbre '[taoensso.timbre :as timbre
@ -505,7 +506,8 @@
logf tracef debugf infof warnf errorf fatalf reportf logf tracef debugf infof warnf errorf fatalf reportf
spy logged-future with-log-level sometimes)]) spy logged-future with-log-level sometimes)])
(require (require
'[taoensso.timbre.profiling :as profiling :refer (pspy pspy* profile defnp)])) '[taoensso.timbre.profiling :as profiling
:refer (pspy pspy* profile defnp p p*)]))
;;;; Deprecated ;;;; Deprecated