23 lines
661 B
C#
23 lines
661 B
C#
using Serilog;
|
|
|
|
namespace ElectricLocomotive
|
|
{
|
|
internal static class Program
|
|
{
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
[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());
|
|
}
|
|
}
|
|
} |