forked from pothtonswer/discordmuffin
Add a little spacing when logging rest api requests
This commit is contained in:
parent
7f6d256dda
commit
21739b0274
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue