瀏覽代碼

Add a little spacing when logging rest api requests

Bruce Marriner 8 年之前
父節點
當前提交
21739b0274
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 {