Jelajahi Sumber

Add a little spacing when logging rest api requests

Bruce Marriner 8 tahun lalu
induk
melakukan
21739b0274
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      restapi.go

+ 1 - 1
restapi.go

@@ -102,7 +102,7 @@ func (s *Session) request(method, urlStr, contentType string, b []byte) (respons
 		for k, v := range resp.Header {
 			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 {