UNPKG

connect-leg

Version:

leg logging for connect applications

45 lines (31 loc) 743 B
connect-leg =========== Simple really, just a middleware for logging with leg. Or any compatible logging thing. Overview -------- This middleware provides a simple logging routine designed to work with [leg](https://github.com/deoxxa/leg/). It works with [express](http://expressjs.com/) and vanilla [connect](http://www.senchalabs.org/connect/). Installation ------------ > npm install connect-leg Usage ----- ```js app.use(require("connect-leg")(log)); ``` Test ---- ```shell npm test ``` License ------- 3-clause BSD. A copy is included with the source. Contact Me ---------- * GitHub ([deoxxa](http://github.com/deoxxa)) * Twitter ([@deoxxa](http://twitter.com/deoxxa)) * Email ([deoxxa@fknsrs.biz](mailto:deoxxa@fknsrs.biz))