Log.cs 514 B

123456789101112131415161718192021222324252627282930313233
  1. using System.Diagnostics;
  2. using ILRuntime.Runtime;
  3. namespace ETModel
  4. {
  5. public static class Log
  6. {
  7. public static void Trace(string msg)
  8. {
  9. UnityEngine.Debug.Log(msg);
  10. }
  11. public static void Warning(string msg)
  12. {
  13. UnityEngine.Debug.LogWarning(msg);
  14. }
  15. public static void Info(string msg)
  16. {
  17. UnityEngine.Debug.Log(msg);
  18. }
  19. public static void Error(string msg)
  20. {
  21. UnityEngine.Debug.LogError(msg);
  22. }
  23. public static void Debug(string msg)
  24. {
  25. UnityEngine.Debug.Log(msg);
  26. }
  27. }
  28. }