Exemplo n.º 1
0
    private void logReport(string cond, string stack, LogType type)
    {
        sLog = "";
        sLog = cond + "\n";
        if (type == LogType.Error || type == LogType.Exception)
        {
            sLog += stack;
        }

        if (logQue.Count > 50)
        {
            logQue.Dequeue();
        }
        logQue.Enqueue(sLog);
        CommonEvent.ExcuteException(sLog);
        //NGUIDebug.Log (sLog);

        //Backlog.Instance.log(SystemInfo.deviceUniqueIdentifier, cond, stack.Replace('\n', '|'), "0");
    }