Commit Latest
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user