WuhuIslandTesting/Library/PackageCache/com.unity.test-framework@1.1.31/UnityEditor.TestRunner/UnityTestProtocol/UtpDebuglogger.cs

14 lines
339 B
C#
Raw Permalink Normal View History

2025-01-07 02:06:59 +01:00
using UnityEngine;
namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
{
class UtpDebugLogger : IUtpLogger
{
public void Log(Message msg)
{
var msgJson = JsonUtility.ToJson(msg);
Debug.LogFormat(LogType.Log, LogOption.NoStacktrace, null, "\n##utp:{0}", msgJson);
}
}
}