Compare commits

..

No commits in common. "4d0d2e1404a437ea70135e5d38baf26d74b96756" and "bb49daabcc166d4e9e6405fba781ab56fbcc179c" have entirely different histories.

1 changed files with 1 additions and 2 deletions

View File

@ -40,8 +40,7 @@ public class CustomLogger : ILogger
File.Delete(logFiles.First());
}
var roundedUnixTimestamp = DateTime.Now.ToUnixTime() % 2 == 0 ? DateTime.Now.ToUnixTime() : DateTime.Now.ToUnixTime() + 1;
var timestamp = "Timestamp;" + roundedUnixTimestamp + Environment.NewLine;
var timestamp = "Timestamp;" + DateTime.Now.ToUnixTime() + Environment.NewLine;
var logFileBackupPath = Path.Combine(logFileDir, $"{logFileBaseName}_{DateTime.Now.ToUnixTime()}{logFileExt}");
File.AppendAllText(logFileBackupPath, timestamp + logMessage + Environment.NewLine);