public void LogTrackEntered(object sender, NewTrackInAirSpaceArgs args) { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.AppendLine( $"At time: {args.Track.TimeStamp} the following plane {args.Track.TagId} entered the airspace"); File.AppendAllText(fileLogPath, stringBuilder.ToString()); }
public void LogTrackEntered(object sender, NewTrackInAirSpaceArgs args) { Console.WriteLine($"At time: {args.Track.TimeStamp} the following plane {args.Track.TagId} entered the airspace"); }