Add a little spacing when logging rest api requests

This commit is contained in:
Bruce Marriner 2016-04-25 12:05:02 -05:00
parent 7f6d256dda
commit 21739b0274

View file

@ -102,7 +102,7 @@ func (s *Session) request(method, urlStr, contentType string, b []byte) (respons
for k, v := range resp.Header { for k, v := range resp.Header {
log.Printf("API RESPONSE HEADER :: [%s] = %+v\n", k, v) log.Printf("API RESPONSE HEADER :: [%s] = %+v\n", k, v)
} }
log.Printf("API RESPONSE BODY :: [%s]\n", response) log.Printf("API RESPONSE BODY :: [%s]\n\n\n", response)
} }
switch resp.StatusCode { switch resp.StatusCode {