Commit Latest

This commit is contained in:
2025-04-02 22:21:13 -04:00
parent b29ec78df2
commit f3a130d509

View File

@@ -127,10 +127,11 @@ namespace MarketData.Utils
FileAttributes attributes = File.GetAttributes(logFile);
int age = Math.Abs(dateGenerator.DaysBetweenActual(currentDate, creationTime));
StringBuilder sb = new StringBuilder();
sb.Append($"[ShowLogs]");
sb.Append($"[ShowLogs] ");
sb.Append($"'{logFile}'").Append(" ");
sb.Append($"Age:").Append(age).Append(" ");
sb.Append($"Created:").Append(creationTime.ToShortDateString()).Append(" ");
sb.Append($"LastWite:").Append(lastWriteTime.ToShortDateString()).Append(" ");
sb.Append($"LastWrite:").Append(lastWriteTime.ToShortDateString()).Append(" ");
sb.Append(FileAttributesToString(attributes));
MDTrace.WriteLine(LogLevel.DEBUG,sb.ToString());
}