Timestamp syncreport and exception log files.

This commit is contained in:
Paul Chote
2016-09-21 04:54:25 +01:00
parent c1e1ee0938
commit b44d1be554
2 changed files with 4 additions and 2 deletions

View File

@@ -92,7 +92,8 @@ namespace OpenRA.Network
internal void DumpSyncReport(int frame, IEnumerable<FrameData.ClientOrder> orders)
{
Log.AddChannel("sync", "syncreport.log");
var reportName = "syncreport-" + DateTime.UtcNow.ToString("yyyy-MM-ddTHHmmssZ") + ".log";
Log.AddChannel("sync", reportName);
foreach (var r in syncReports)
{