public App() { string fileName = DateTime.Now.Ticks.ToString() + ".log"; fileLogger = new FileLogger(fileName); debugLogger = new SimpleLogger(); logger.AddLogger(debugLogger); logger.AddLogger(fileLogger); Startup += App_Startup; Exit += App_Exit; }