bakkenbaeck / Teapot

A light-weight URLSession wrapper for building simple API clients.
MIT License
19 stars 3 forks source link

Add logging functionality #31

Closed designatednerd closed 6 years ago

designatednerd commented 6 years ago

@yuliaveres and I were discussing trying to get things to log out right before they go out to the wire and right after they come in from the wire. I thought that would be really useful general functionality for debugging network issues, so I decided to just update this here.

I've updated the README to explain the logger functionality in more detail - please let me know if there's better detail I can provide.

elland commented 6 years ago

@designatednerd why merge instead of a rebase?

designatednerd commented 6 years ago

@elland I generally merge instead of rebase for things which have already been pushed. In the end I don't much think it matters since everything gets squashed in the end anyway

designatednerd commented 6 years ago

Looks like HTTPBin is having a sad, I'll rerun tests later today

designatednerd commented 6 years ago

Annnnnd it's back. Merging