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

[#33] inspect request response, better logging #37

Merged
merged 6 commits into from
May 16, 2016

Conversation

flaviogranero
Copy link
Member

fixes #33
fixes #34

@coveralls
Copy link

Coverage Status

Coverage increased (+8.2%) to 98.496% when pulling 21be1c0 on flavio.33.inspect-request-response into 87b7451 on master.

defp time_diff(start, stop), do: :timer.now_diff(stop, start)
end

defimpl Inspect, for: Dayron.Request do
Copy link
Member

@alemata alemata May 16, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@flaviogranero what do you think about moving the inspect implementations to another file?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alemata I'm not sure, why?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was just an idea, to keep things separated.... but I am ok with leaving them there!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since it's related to Request module, I think it's good to have everything in a single file..

@alemata alemata merged commit 38f24ee into master May 16, 2016
@flaviogranero flaviogranero deleted the flavio.33.inspect-request-response branch May 16, 2016 19:05
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.

Extract logger to an behavior implement inspect for better logging
3 participants