2023-12-13 11:50:29 +04:00
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
using NLog.Extensions.Logging;
|
|
|
|
using Serilog;
|
|
|
|
|
2023-10-31 12:23:01 +04:00
|
|
|
namespace Catamaran
|
|
|
|
{
|
|
|
|
internal static class Program
|
|
|
|
{
|
2023-11-12 11:28:15 +04:00
|
|
|
/// <summary>
|
2023-12-13 11:50:29 +04:00
|
|
|
/// The main entry point for the application.
|
2023-11-12 11:28:15 +04:00
|
|
|
/// </summary>
|
2023-10-31 12:23:01 +04:00
|
|
|
[STAThread]
|
2023-12-13 11:50:29 +04:00
|
|
|
static void Main()
|
2023-10-31 12:23:01 +04:00
|
|
|
{
|
2023-12-13 11:50:29 +04:00
|
|
|
Log.Logger = new LoggerConfiguration().WriteTo.File("log.txt").MinimumLevel.Debug().CreateLogger();
|
|
|
|
Application.SetHighDpiMode(HighDpiMode.SystemAware);
|
|
|
|
Application.EnableVisualStyles();
|
|
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
2023-11-12 11:28:15 +04:00
|
|
|
Application.Run(new FormCatamaranCollection());
|
2023-10-31 12:23:01 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|