예제 #1
0
        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
        }
예제 #2
0
 public override void Shutdown()
 {
     DEV9_LOG("DEV9shutdown\n");
     PluginLog.Close(); //fclose(dev9Log);
     DEVLOG_shared = null;
 }