koa-logger

Logging middleware for koa

npm install koa-logger
61 downloads in the last day
345 downloads in the last week
1 620 downloads in the last month

koa-logger

Development style logger middleware for koa.

<-- GET /
--> GET / 200 835ms 746b
<-- GET /
--> GET / 200 960ms 1.9kb
<-- GET /users
--> GET /users 200 357ms 922b
<-- GET /users?page=2
--> GET /users?page=2 200 466ms 4.66kb

Installation

$ npm install koa-logger

Notes

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

License

MIT

npm loves you