/// <summary> /// 压入一个日志 /// </summary> public void Push(LogType type, string msg) { if (m_CurTrace != null) { LogTraceNode node; node.type = (byte)type; node.msg = msg; if (AppConst.logDebug) { m_CurTrace.AddLog(node); } else if (type != LogType.Log) { m_CurTrace.AddLog(node); } } }