chore: 优化日志输出

This commit is contained in:
uye
2025-07-17 15:48:31 +08:00
parent 9b9dc35580
commit f8077d6084
23 changed files with 142 additions and 138 deletions

View File

@@ -428,7 +428,7 @@ public class InfrastSettingsUserControlModel : TaskViewModel
{
var count = CustomInfrastPlanInfoList.Count;
value = ((value % count) + count) % count;
_logger.Warning($"CustomInfrastPlanIndex out of range, reset to Index % Count: {value}");
_logger.Warning("CustomInfrastPlanIndex out of range, reset to Index % Count: {Value}", value);
}
if (value != _customInfrastPlanIndex && NeedAddCustomInfrastPlanInfo)