forked from BilalY/Rasagar
22 lines
629 B
C#
22 lines
629 B
C#
using UnityEngine;
|
|
|
|
namespace UnityEditor.PackageManager.ValidationSuite
|
|
{
|
|
/// <summary>
|
|
/// Logger used to keep track of Validation Suite activity, for debugging
|
|
/// </summary>
|
|
static class ActivityLogger
|
|
{
|
|
public static void Log(string message, params object[] args)
|
|
{
|
|
#if UNITY_2019_1_OR_NEWER
|
|
Debug.LogFormat(LogType.Log, LogOption.NoStacktrace, null,
|
|
"[Package Validation Suite] " + message, args);
|
|
#else
|
|
var finalMessage = "[Package Validation Suite] " + string.Format(message, args);
|
|
Debug.Log(finalMessage);
|
|
#endif
|
|
}
|
|
}
|
|
}
|