public static void toLog(StringBuilder sb, int type) { string str = sb.ToString(); if (ShineSetting.logNeedConsole) { doPrintToConsole(str, SLogType.isErrorLog(type)); } toSendLog(type, str); }
public static void toLog(String str, int type) { if (!ShineSetting.needLog) { return; } if (ShineSetting.logNeedConsole) { doPrintToConsole(str, SLogType.isErrorLog(type)); } toSendLog(type, str); }