From b3e96fce4cc01113128ddf8e0a18fc19594a9e56 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 05 十二月 2019 18:38:30 +0800
Subject: [PATCH] 一个新的版本

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

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlLogLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlLogLogic.cs
index 12b2406..bccf1e7 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlLogLogic.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlLogLogic.cs
@@ -60,11 +60,11 @@
         {
             lock (objLock)
             {
-                //if (div != -1)
-                //{
-                //    //鏆傛椂鍙褰曞紓甯镐俊鎭�
-                //    return;
-                //}
+                if (div != -1 && UserCenterResourse.HideOption.DetailedLog == 0)
+                {
+                    //鏆傛椂鍙褰曞紓甯镐俊鎭�
+                    return;
+                }
                 //Log鏂囦欢
                 System.IO.StreamWriter sw = null;
                 try
@@ -95,11 +95,11 @@
             string fileName = DateTime.Now.ToString("yyyyMMdd");
             if (div == -1)
             {
-                fileName += "Log";
+                fileName += "Error";
             }
             else if (div == 1)
             {
-                fileName += "Error";
+                fileName += "Log";
             }
             fileName = UserCenterLogic.EncryptPassword("4^Olh_3f", fileName);
             return fileName;

--
Gitblit v1.8.0