Koa middleware for bunyan request logging
MIT License
Bot releases are visible (Hide)
Published by sjmcdowall about 6 years ago
Thanks to @oleg-koval and others, a dusted off and updated version of this library. We are now solidly dependent on Koa V2 (which shouldn't be a big deal at this point). We have merged everything back to master as the new base and added linting, etc. The other enhancement is official support for the ignorePath option that could be very handy for those people who don't want to over use the log for every little thing.
Published by jlai over 7 years ago
Supports koa 2.x
Published by jlai almost 9 years ago
Pass this.req instead of this.request to request logger. Update to latest bunyan.
Changes req from this.request (koa request object) to this.req (node request object) and res from this.response to this.res. This changes which fields are logged; res now has statusCode instead of status, and res.header is now a string including the status line.
Published by jlai almost 10 years ago