Esempio n. 1
0
        public static void toLog(StringBuilder sb, int type)
        {
            string str = sb.ToString();

            if (ShineSetting.logNeedConsole)
            {
                doPrintToConsole(str, SLogType.isErrorLog(type));
            }

            toSendLog(type, str);
        }
Esempio n. 2
0
        public static void toLog(String str, int type)
        {
            if (!ShineSetting.needLog)
            {
                return;
            }

            if (ShineSetting.logNeedConsole)
            {
                doPrintToConsole(str, SLogType.isErrorLog(type));
            }

            toSendLog(type, str);
        }