Komlev_S.I. Lab7 #9
@ -40,21 +40,6 @@ namespace GasolineTanker
|
||||
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);
|
||||
});
|
||||
|
||||
}*/
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user