add log-ex to core API

This commit is contained in:
mike-thompson-day8 2015-04-17 22:51:03 +10:00
parent f69b7cd332
commit 769723c069
2 changed files with 3 additions and 3 deletions

View File

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

View File

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