public static void LogInternal(SLogCategory logType, string logmsg) { if (DebugHelper.enableLog) { DebugHelper.s_logers[(int)logType].Log(logmsg); } }
public static void OpenLoger(SLogCategory logType, string logFile) { int index = (int)logType; s_logers[index].Flush(); s_logers[index].Close(); s_logers[index].TargetPath = logFile; }
public static void CloseLoger(SLogCategory logType) { int index = (int)logType; s_logers[index].Flush(); s_logers[index].Close(); s_logers[index].TargetPath = null; }
public static void LogInternal(SLogCategory logType, string logmsg) { s_logers[(int)logType].Log(logmsg); }
public static string GetLogerPath(SLogCategory logType) { return(s_logers[(int)logType].LastTargetPath); }
public static SLogObj GetLoger(SLogCategory logType) { return(s_logers[(int)logType]); }
public static void CloseLoger(SLogCategory logType) { DebugHelper.s_logers[(int)logType].Flush(); DebugHelper.s_logers[(int)logType].Close(); DebugHelper.s_logers[(int)logType].TargetPath = null; }
public static void OpenLoger(SLogCategory logType, string logFile) { DebugHelper.s_logers[(int)logType].Flush(); DebugHelper.s_logers[(int)logType].Close(); DebugHelper.s_logers[(int)logType].TargetPath = logFile; }