From 7e863a33397f317ffc3ffd9288496d0e4f16aa66 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 12 十二月 2019 14:58:20 +0800
Subject: [PATCH] 合并了新代码

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlLogLogic.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlLogLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlLogLogic.cs
index f1b5642..c3c9468 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlLogLogic.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlLogLogic.cs
@@ -43,10 +43,12 @@
         /// Log鍑哄姏
         /// </summary>
         /// <param name="ex"></param>
-        public void WriteLog(Exception ex)
+        /// <param name="appendMsg">闄勫姞娑堟伅</param>
+        public void WriteLog(Exception ex, string appendMsg = "")
         {
             //Log鍑哄姏
-            string msg = ex.Message + "\r\n";
+            string msg = appendMsg == "" ? string.Empty : appendMsg + "\r\n";
+            msg += ex.Message + "\r\n";
             msg += ex.StackTrace;
             this.WriteLog(-1, msg);
         }

--
Gitblit v1.8.0