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; }
public void Setup() { ProcessSearch = new ProcessSearch(); }