PIbd_23_Kislitsa_E.D_AirFig.../AirFighter/Program.cs
2023-12-08 21:44:38 +03:00

26 lines
792 B
C#

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());
}
}
}