public static void LogError(string message) { if (Logger.Enable && Logger.LogLevel >= Logger.Level.Error) { Debug.LogWarning(message); } if (Logger.HandleLog != null) { Logger.HandleLog(message, StackTraceUtility.ExtractStackTrace(), Logger.Level.Error); } }