using System.Diagnostics; namespace YooAsset { internal static class YooLogger { /// /// 日志 /// [Conditional("DEBUG")] public static void Log(string info) { UnityEngine.Debug.Log(info); } /// /// 警告 /// public static void Warning(string info) { UnityEngine.Debug.LogWarning(info); } /// /// 错误 /// public static void Error(string info) { UnityEngine.Debug.LogError(info); } /// /// 异常 /// public static void Exception(System.Exception exception) { UnityEngine.Debug.LogException(exception); } } }