Agliullov D. A. Lab Work 7 Advanced #8

Merged
eegov merged 8 commits from Lab7 into Lab6 2022-11-07 11:32:29 +04:00
2 changed files with 2 additions and 6 deletions
Showing only changes of commit d25097873c - Show all commits

View File

@ -188,9 +188,9 @@ namespace AirBomber
public string GetData(char separatorType, char separatorData)
{
string data = $"{_map.GetType().Name}{separatorType}";
foreach (var car in SetAirplanes.GetAirplanes())
foreach (var airplane in SetAirplanes.GetAirplanes())
{
data += $"{car.GetInfo()}{separatorData}";
data += $"{airplane.GetInfo()}{separatorData}";
}
return data;
}

View File

@ -42,10 +42,6 @@ namespace AirBomber
var logger = new LoggerConfiguration()
.ReadFrom.Configuration(configuration)
.WriteTo.Logger(lc => lc
.Filter.ByIncludingOnly(f =>
f.Level == Serilog.Events.LogEventLevel.Information)
.WriteTo.File("action_user.txt"))
.CreateLogger();
return logger;
}