Clean up some logging

This commit is contained in:
Cj 2024-06-20 23:33:55 -04:00
parent 03252c1422
commit 9799f3dca8
2 changed files with 2 additions and 4 deletions

View File

@ -258,8 +258,9 @@ public class ReCodeItRemapper
if (scores.Count > 1)
{
Logger.Log($"Warning! There were {filteredScores.Count()} possible matches. Considering adding more search parameters", ConsoleColor.Yellow);
Logger.Log($"Only showing first 5.", ConsoleColor.Yellow);
foreach (var score in filteredScores.Skip(1))
foreach (var score in filteredScores.Skip(1).Take(5))
{
Logger.Log($"{score.Definition.Name} - Score [{score.Score}]", ConsoleColor.Yellow);
}

View File

@ -2,7 +2,6 @@
using Mono.Collections.Generic;
using ReCodeIt.Models;
using ReCodeIt.Utils;
using ReCodeIt.Utils;
namespace ReCodeIt.ReMapper;
@ -166,8 +165,6 @@ internal static class RenameHelper
{
var oldName = type.FullName.ToString();
type.Name = score.ProposedNewName;
Logger.Log($"Renamed Type {oldName} to {type.FullName}");
}
}
}