diff --git a/AirBomber/AirBomber/MapWithSetAirplanesGeneric.cs b/AirBomber/AirBomber/MapWithSetAirplanesGeneric.cs index 537b76f..a828f0a 100644 --- a/AirBomber/AirBomber/MapWithSetAirplanesGeneric.cs +++ b/AirBomber/AirBomber/MapWithSetAirplanesGeneric.cs @@ -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; } diff --git a/AirBomber/AirBomber/Program.cs b/AirBomber/AirBomber/Program.cs index 043ac59..70ce32b 100644 --- a/AirBomber/AirBomber/Program.cs +++ b/AirBomber/AirBomber/Program.cs @@ -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; }