using System; using System.Diagnostics; using Cysharp.Text; using UnityEngine; using Debug = UnityEngine.Debug; namespace AlicizaX.Runtime { public static partial class Log { static void Print(GameFrameworkLogLevel logLevel, object message) { switch (logLevel) { case GameFrameworkLogLevel.Debug: UnityEngine.Debug.Log($"[Debug] ► - {message}"); break; case GameFrameworkLogLevel.Info: UnityEngine.Debug.Log($"[Info] ► - {message}"); break; case GameFrameworkLogLevel.Warning: UnityEngine.Debug.LogWarning($"[WARNING] ► - {message}"); break; case GameFrameworkLogLevel.Error: UnityEngine.Debug.LogError($"[ERROR] ► - {message}"); break; case GameFrameworkLogLevel.Fatal: UnityEngine.Debug.LogException(new Exception($"[Exception] ► - {message}")); break; } } } }