Example #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
        }