Example #1
0
 void onLog(string condition, string stackTrace, LogType type)
 {
     if (type == LogType.Log)
     {
         _unityLog.Debug(condition);
     }
     else if (type == LogType.Warning)
     {
         _unityLog.Warn(condition);
     }
     else
     {
         _unityLog.Error(condition + "\n" + stackTrace);
     }
 }
Example #2
0
 public static void Debug(string message)
 {
     _log.Debug(message);
 }