-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: res.log() is only mentioned in quietReqLogger? #289
Documentation: res.log() is only mentioned in quietReqLogger? #289
Comments
Can you clarify? |
@mcollina: those were my thoughts, I initially thought it was a typo, and then I saw this in the code: Perhaps at some point, an HTTP framework/abstraction gives you access to the |
|
Sure, it's a reference to
|
Likely no, can you add it?
I don't understand this question
No, |
@mcollina: I can try to open a PR, trying to lobby to switch out Bunyan with Pino at my day job. I'm guessing that the typescript definitions for |
@mcollina: I have a PR ready, however, it appears there's an error on #master with the typescript types?
|
It looks like the standard serializers type defs changed and params and query are mandatory. I added empty ones to fix the test, but, I'm not sure if they should be made optional or not. |
Hello,
I was reading the API docs, and noticed that
res.log()
is only mentioned inquietReqLogger
:Should we document
res.log()
elsewhere -- otherwise, it may give the impression of being a typo.Thanks for the great work!
The text was updated successfully, but these errors were encountered: