예제 #1
0
파일: Ctrl.cs 프로젝트: shineTeam7/home3
        public static void toLog(StringBuilder sb, int type)
        {
            string str = sb.ToString();

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

            toSendLog(type, str);
        }
예제 #2
0
파일: Ctrl.cs 프로젝트: shineTeam7/home3
        public static void toLog(String str, int type)
        {
            if (!ShineSetting.needLog)
            {
                return;
            }

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

            toSendLog(type, str);
        }