logger icon indicating copy to clipboard operation
logger copied to clipboard

Development style logging middleware

Results 17 logger issues
Sort by recently updated
recently updated
newest added

This PR is based on #86. Currently there seems to be an assumption that the body will not be modified upstream. This might be intended but, as it is, if...

I noticed that the size of streamed bodies weren't being logged. I went to poke around and noticed that none of the tests for logger were checking streams. I added...

Enables more verbose Transporter to log other ctx details. Fixes issues #77 and #82. `ctx` is passed as the 3rd argument to transporter as to not disrupt any existing code....

Display Client IP In Log

in koa-logger, it replaces ctx.body with a Counter: ```javascript if (length == null && body && body.readable) { ctx.body = body .pipe(counter = Counter()) .on('error', ctx.onerror) } ``` in request.js,...

request-received changed what they store in `ctx[Symbol.for('request-received.startTime')]` from `new Date()` to `Date.now()`, so line 59 in index.js needs to drop the `.getTime()`.