Initial commit

This commit is contained in:
rudder
2026-08-12 14:03:44 +03:00
commit 9a7b4a57dc
304 changed files with 82311 additions and 0 deletions
@@ -0,0 +1,24 @@
using RudderSdk.Core.Abstractions;
using UnityEngine;
namespace RudderSdk.Unity
{
public sealed class UnityDebugLoggerSink : IUnityLoggerSink
{
public void Log(RudderLogLevel level, string message)
{
switch (level)
{
case RudderLogLevel.Warning:
Debug.LogWarning("[Rudder] " + message);
break;
case RudderLogLevel.Error:
Debug.LogError("[Rudder] " + message);
break;
default:
Debug.Log("[Rudder] " + message);
break;
}
}
}
}