예제 #1
0
    public static void BeginLogs()
    {
        DebugHelper.CloseLogs();
        string logRootPath = DebugHelper.logRootPath;
        string text        = DateTime.get_Now().ToString("yyyyMMdd_HHmmss");

        DebugHelper.OpenLoger(SLogCategory.Normal, string.Format("{0}/{1}_normal.log", logRootPath, text));
        DebugHelper.OpenLoger(SLogCategory.Skill, string.Format("{0}/{1}_skill.log", logRootPath, text));
        DebugHelper.OpenLoger(SLogCategory.Misc, string.Format("{0}/{1}_misc.log", logRootPath, text));
        DebugHelper.OpenLoger(SLogCategory.Msg, string.Format("{0}/{1}_msg.log", logRootPath, text));
        DebugHelper.OpenLoger(SLogCategory.Actor, string.Format("{0}/{1}_actor.log", logRootPath, text));
        DebugHelper.OpenLoger(SLogCategory.Rvo, string.Format("{0}/{1}_rvo.log", logRootPath, text));
        DebugHelper.OpenLoger(SLogCategory.Fow, string.Format("{0}/{1}_fow.log", logRootPath, text));
    }