UCRBrainGameCenter/BGC_Tools

New Logger for Unity Logs

Opened this issue · 0 comments

Rename and all that and add ones for log, logwarning, and logerror. Also, need to look into how these conditionals work, but it will make life better and remove a lot of useless if verbose calls.

 public static class Logger {

        [Conditional("ENABLE_LOGS")]

        public static void Debug(string logMsg) {

            UnityEngine.Debug.Log(logMsg);

        }

    }