fix
This commit is contained in:
parent
7019af70fd
commit
d25097873c
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user