Skip to content

SDK Http Client logging  #52

@wadearnold

Description

@wadearnold

It would be nice to have a verbose logger for development to see what the HTTP client is sending to the server and what the response body and status code are received.

The library should implement a verbose Transport implements http.RoundTripper that would allow for logging on all API calls. A good example is loghttp

I am not sure how we would set the HTTP logger but something like the following:

 moov.HttpClient := &http.Client{
        Transport: &loghttp.Transport{},
    }

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions