public static void Log(string text, Exception e = null) { #if UNITY_EDITOR || UNITY_STANDALONE || UNITY_ANDROID || UNITY_IOS if (e != null) { Debug.LogError($"{text} -> {e.Message}\n {e.StackTrace}"); } else if (verboseLog) { Debug.Log(text); } #else if (e != null) { ServerLog.Error($"{text} -> {e.Message}\n {e.StackTrace}"); } else { if (text.Contains(">")) { if (verboseLog) { ServerLog.Debug(text); } } else { ServerLog.Info(text); } } #endif }