Browse Source

添加日志,加强日志

Jeff 3 years ago
parent
commit
e9149c6b13
1 changed files with 1 additions and 1 deletions
  1. 1 1
      FactoryTool_CShare/Business/CommonMethod.cs

+ 1 - 1
FactoryTool_CShare/Business/CommonMethod.cs

@@ -652,7 +652,7 @@ namespace MOKA_Factory_Tools
                 }
             }
             watch.Stop();
-            Log.WriteInfoLog(string.Format("[GetKeysOnline] order={0},sn={1},Elapsed={2}", order, sn, watch.Elapsed.TotalMilliseconds));
+            Log.WriteInfoLog(string.Format("[GetIDMKeys] order={0},sn={1},Elapsed={2} GetKeys={3}", order, sn, watch.Elapsed.TotalMilliseconds, result ? "成功" : "失败"));
 
             if ( !result )
                 ReportErrormsg("Fail to GetIDMKeys ", msg + "\r\n" + item.URL + "\r\n" + item.Postdata + "\r\n" + httpResult.Html, connection);