From 99a3f198578f79b48bca1821554fb4b76270cd27 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 14 八月 2018 16:56:13 +0800
Subject: [PATCH] 2541 优化日志工具和bugly工具
---
Core/GameEngine/Model/ConfigManager.cs | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Core/GameEngine/Model/ConfigManager.cs b/Core/GameEngine/Model/ConfigManager.cs
index d2976d0..d24ce41 100644
--- a/Core/GameEngine/Model/ConfigManager.cs
+++ b/Core/GameEngine/Model/ConfigManager.cs
@@ -428,7 +428,7 @@
catch (Exception ex)
{
_task.state = TaskState.ReadFileFailure;
- DesignDebug.Log(ex);
+ DebugEx.Log(ex);
}
finally
{
@@ -487,7 +487,7 @@
catch (Exception ex)
{
_task.state = TaskState.ParseFailure;
- DesignDebug.Log(ex);
+ DebugEx.Log(ex);
}
finally
{
@@ -613,7 +613,7 @@
}
catch (Exception ex)
{
- DesignDebug.Log(ex);
+ DebugEx.Log(ex);
}
finally
{
@@ -633,7 +633,7 @@
var token = typeof(T).MetadataToken;
if (configDictionary.ContainsKey(token) == false)
{
- DesignDebug.LogErrorFormat("not find the config:{0}", token);
+ DebugEx.LogErrorFormat("not find the config:{0}", token);
return null;
}
@@ -641,7 +641,7 @@
var dic = configDictionary[token];
if (!dic.ContainsKey(_dwTemplateID))
{
- DesignDebug.LogFormat("not find the config:{0},<color=#ff0000ff>ID:{1}</color>", typeof(T).Name, _dwTemplateID);
+ DebugEx.LogFormat("not find the config:{0},<color=#ff0000ff>ID:{1}</color>", typeof(T).Name, _dwTemplateID);
}
else
{
@@ -690,7 +690,7 @@
var token = typeof(T).MetadataToken;
if (!configDictionary.ContainsKey(token))
{
- DesignDebug.LogErrorFormat("not find the dic of config: {0}", typeof(T).Name);
+ DebugEx.LogErrorFormat("not find the dic of config: {0}", typeof(T).Name);
return null;
}
@@ -703,7 +703,7 @@
var token = typeof(T).MetadataToken;
if (!configDictionary.ContainsKey(token))
{
- DesignDebug.LogErrorFormat("not find the dic of config: {0}", typeof(T).Name);
+ DebugEx.LogErrorFormat("not find the dic of config: {0}", typeof(T).Name);
return null;
}
--
Gitblit v1.8.0