This commit is contained in:
d.agil 2022-11-02 13:12:01 +04:00
parent 7019af70fd
commit d25097873c
2 changed files with 2 additions and 6 deletions

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;
}