fix
This commit is contained in:
parent
0f9caec5c3
commit
844514fc0d
@ -188,9 +188,9 @@ namespace AirBomber
|
|||||||
public string GetData(char separatorType, char separatorData)
|
public string GetData(char separatorType, char separatorData)
|
||||||
{
|
{
|
||||||
string data = $"{_map.GetType().Name}{separatorType}";
|
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;
|
return data;
|
||||||
}
|
}
|
||||||
|
@ -42,10 +42,6 @@ namespace AirBomber
|
|||||||
|
|
||||||
var logger = new LoggerConfiguration()
|
var logger = new LoggerConfiguration()
|
||||||
.ReadFrom.Configuration(configuration)
|
.ReadFrom.Configuration(configuration)
|
||||||
.WriteTo.Logger(lc => lc
|
|
||||||
.Filter.ByIncludingOnly(f =>
|
|
||||||
f.Level == Serilog.Events.LogEventLevel.Information)
|
|
||||||
.WriteTo.File("action_user.txt"))
|
|
||||||
.CreateLogger();
|
.CreateLogger();
|
||||||
return logger;
|
return logger;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user