Пример #1
0
        static SearchCore()
        {
            ProcessSearch = new ProcessSearch();
            var          nameLog = string.Format("{0}.log", DateTime.Now.Date.ToString("yyyy-MM-dd"));
            StreamWriter logFile = File.AppendText(nameLog);

            Trace.Listeners.Add(new TextWriterTraceListener(logFile));
            Trace.AutoFlush = true;
        }
Пример #2
0
 public void Setup()
 {
     ProcessSearch = new ProcessSearch();
 }