Skip to content
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

Pass this.req/this.res instead of this.request/this.response #5

Merged
merged 1 commit into from
Jan 23, 2015

Conversation

jlai
Copy link
Collaborator

@jlai jlai commented Jan 23, 2015

Pass this.req/this.res instead of this.request/this.response

This make the fields more consistent with other bunyan loggers
and parsers, in particular having res._header have the response
line instead of a header object.

NOTE: this changes the format of the res object for request
logging, including res.header and res.status (now res.statusCode)

Reviewer: @aheckmann

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 76d56b1 on standard-req-res into d60d4e0 on master.

This make the fields more consistent with other bunyan loggers
and parsers, in particular having res._header have the response
line instead of a header object.

NOTE: this changes the format of the res object for request
logging, including res.header and res.status (now res.statusCode)
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 6c98c3f on standard-req-res into d60d4e0 on master.

aheckmann added a commit that referenced this pull request Jan 23, 2015
Pass this.req/this.res instead of this.request/this.response
@aheckmann aheckmann merged commit 6d65738 into master Jan 23, 2015
@aheckmann aheckmann deleted the standard-req-res branch January 23, 2015 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants