No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UtpDebuglogger.cs 423B

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