using System.Drawing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using NLog.Extensions.Logging; using System.Drawing; using Serilog; using Serilog.Events; using Serilog.Formatting.Json; namespace ProjectAirFighter { internal static class Program { [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 FormAirplaneCollection()); } } }