private void LogInit() { #pragma warning disable 0162 if (DoLog) { if (LogFolderPath.EndsWith(System.IO.Path.DirectorySeparatorChar.ToString())) { PluginLog.Open(LogFolderPath + "dev9clr.log"); } else { PluginLog.Open(LogFolderPath + System.IO.Path.DirectorySeparatorChar + "dev9clr.log"); } PluginLog.SetWriteToFile(true); DEVLOG_shared = PluginLog; } #pragma warning restore 0162 }
public override void Shutdown() { DEV9_LOG("DEV9shutdown\n"); PluginLog.Close(); //fclose(dev9Log); DEVLOG_shared = null; }