AppSecInc.ProcessDomain.Program.OpenLogFile C# (CSharp) Method

OpenLogFile() static private method

static private OpenLogFile ( ) : void
return void
        static void OpenLogFile()
        {
            string fileName = string.Format("{0}-{1}.log", Assembly.GetEntryAssembly().Location, Process.GetCurrentProcess().Id);
            try
            {
                _logFile = new StreamWriter(fileName, false);
            }
            catch(Exception ex)
            {
                Console.WriteLine("Failed to open process domain bootstrap log: {0}", ex);
            }
        }