public static void LogError(string content) { try { LogInfo(content, Logger.WriteType.Error); } catch (Exception e) { ExceptionForm form = new ExceptionForm(); form.SetModal(e); _canWriteLog = false; } }