using System.Diagnostics; using UnityEngine; using Debug = UnityEngine.Debug; namespace Http { public static class HttpDebug { [Conditional("OPEN_DEBUG")] public static void Log(string msg) { Debug.unityLogger.Log(LogType.Log, msg); } [Conditional("OPEN_DEBUG")] public static void LogError(string msg) { Debug.unityLogger.Log(LogType.Error, msg); } [Conditional("OPEN_DEBUG")] public static void LogWarning(string msg) { Debug.unityLogger.Log(LogType.Warning, msg); } } }