소스 검색

修正日志输出,采用宏函数;

scbc.sat2 5 년 전
부모
커밋
db95cb0c9c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      SATHTTP/SATHTTP/SATHTTP.cpp

+ 1 - 1
SATHTTP/SATHTTP/SATHTTP.cpp

@@ -27,7 +27,7 @@ __if_not_exists(ProcessJob)
 	}
 }
 
-#define SETLOG GLOBAL::WriteTextLog("请求失败(%s)=%ld:\r请求=%s\r返回=%s", __FUNCDNAME__, curlCode, post_data.c_str(), reponse.c_str())
+#define SETLOG GLOBAL::WriteTextLog("<======请求失败======> \r接口名称:%s \r错误码值:%ld \r请求内容:%s \r返回内容:%s", __FUNCDNAME__, curlCode, post_data.c_str(), reponse.c_str())
 
 #ifdef __CONSOLE__