|
@@ -75,20 +75,19 @@ namespace GFGGame
|
|
|
}
|
|
|
break;
|
|
|
default:
|
|
|
- if (msgDic[_all].Count == _maxCount)
|
|
|
- {
|
|
|
- msgDic[_all].RemoveAt(0);
|
|
|
- }
|
|
|
- if (msgDic[_log].Count == _maxCount)
|
|
|
- {
|
|
|
- msgDic[_log].RemoveAt(0);
|
|
|
- }
|
|
|
- msg = string.Format("log@{2}\n{0}\n{1}", condition, stackTrace, time);
|
|
|
- msgDic[_all].Add(msg);
|
|
|
- msgDic[_log].Add(msg);
|
|
|
if (LauncherConfig.onDebug >= 2)
|
|
|
{
|
|
|
- ViewManager.Show(ViewName.LOG_VIEW);
|
|
|
+ if (msgDic[_all].Count == _maxCount)
|
|
|
+ {
|
|
|
+ msgDic[_all].RemoveAt(0);
|
|
|
+ }
|
|
|
+ if (msgDic[_log].Count == _maxCount)
|
|
|
+ {
|
|
|
+ msgDic[_log].RemoveAt(0);
|
|
|
+ }
|
|
|
+ msg = string.Format("log@{2}\n{0}\n{1}", condition, stackTrace, time);
|
|
|
+ msgDic[_all].Add(msg);
|
|
|
+ msgDic[_log].Add(msg);
|
|
|
}
|
|
|
break;
|
|
|
}
|