public void LogFatal(string message) { if (fatalLogger == null) { fatalLogger = (XmlLogger)CreateLogger(Naizari.Logging.LogType.Xml); string folder = FsUtil.GetCurrentUserAppDataFolder(); fatalLogger.LogLocation = folder; fatalLogger.LogName = FsUtil.GetAssemblyName(this.GetType().Assembly); } fatalLogger.AddEntry(message); }