mt-koa-logger
koa logger for mt
Last updated a year ago by keng42 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mt-koa-logger 
SYNC missed versions from official npm registry.

mt-koa-logger

Development style logger middleware for koa for mt.

2017-08-08 16:00:33 192.168.88.120 GET / 200 - 3ms 11B

Installation

$ npm install mt-koa-logger

Example

const logger = require('mt-koa-logger')
const Koa = require('koa')

const app = new Koa()
app.use(logger())

Notes

Recommended that you .use() this middleware near the top to "wrap" all subsequent middleware.

License

MIT

Current Tags

  • 1.0.0                                ...           latest (a year ago)

1 Versions

  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |