UtpDebuglogger.cs 339 B

12345678910111213
  1. using UnityEngine;
  2. namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
  3. {
  4. class UtpDebugLogger : IUtpLogger
  5. {
  6. public void Log(Message msg)
  7. {
  8. var msgJson = JsonUtility.ToJson(msg);
  9. Debug.LogFormat(LogType.Log, LogOption.NoStacktrace, null, "\n##utp:{0}", msgJson);
  10. }
  11. }
  12. }