add log-ex to core API
This commit is contained in:
parent
f69b7cd332
commit
769723c069
|
@ -1,9 +1,9 @@
|
|||
|
||||
|
||||
## v0.3.1 (2015-04-18)
|
||||
|
||||
Various small improvements and bug fixes:
|
||||
|
||||
- log-ex middleware added to core api (it was a mistake that it was missing)
|
||||
- modest improves to simple example. Better comments, layout, etc.
|
||||
- the anonymous functions in standard middleware now have meaningful
|
||||
names, which makes stack traces easier to understand.
|
||||
|
|
|
@ -23,14 +23,14 @@
|
|||
(def enrich middleware/enrich)
|
||||
(def trim-v middleware/trim-v)
|
||||
(def after middleware/after)
|
||||
; (def log-events middleware/log-events)
|
||||
(def log-ex middleware/log-ex)
|
||||
|
||||
|
||||
|
||||
;; -- Convenience API -------
|
||||
|
||||
;; Almost 100% of handlers will be pure, so make it easy to
|
||||
;; register with "pure" middleware in the correct position.
|
||||
;; register with "pure" middleware in the correct (left-hand-side) position.
|
||||
(defn register-handler
|
||||
([id handler]
|
||||
(handlers/register-base id pure handler))
|
||||
|
|
Loading…
Reference in New Issue