Пример #1
0
        public void PushLog(string v, LogType type = LogType.Log)
        {
            FreeLogList();

            LogMetaInfo info = pool.Get();

            info.info = v;
            info.type = type;

            logList.Add(info);

            if (isShow)
            {
                AddTemplate(info, logList.Count - 1);
            }
        }