This commit is contained in:
Semka 2022-12-12 23:06:31 +04:00
parent 858eabc855
commit 7e5c3bbec2

View File

@ -40,21 +40,6 @@ namespace GasolineTanker
option.AddSerilog(logger); option.AddSerilog(logger);
}); });
} }
/* private static void ConfigureServices(ServiceCollection services)
{
services.AddSingleton<FormMapWithSetTankers>();
var serilogLogger = new LoggerConfiguration()
.WriteTo.RollingFile("Logs\\log.txt")
.CreateLogger();
services.AddLogging(option =>
{
option.SetMinimumLevel(LogLevel.Information);
option.AddSerilog(logger: serilogLogger, dispose: true);
});
}*/
} }
} }