using Serilog; namespace ElectricLocomotive { internal static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { Log.Logger = new LoggerConfiguration() .WriteTo.File("log.txt") .MinimumLevel.Debug() .CreateLogger(); Application.SetHighDpiMode(HighDpiMode.SystemAware); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new FormLocomotivCollection()); } } }