예제 #1
0
파일: Log.cs 프로젝트: HebaruSan/ODFCr
 public static void Debug(bool debugMode, String msg)
 {
     if (debugMode)
     {
         UnityEngine.Debug.LogError(PREFIX + msg);
     }
     else
     {
         Logg.Info(msg);
     }
 }
예제 #2
0
파일: Log.cs 프로젝트: HebaruSan/ODFCr
 public static void Exception(Exception e)
 {
     Logg.Error("exception caught: " + e.GetType() + ": " + e.Message);
 }