write to log, not console

This commit is contained in:
Robert McRackan 2021-09-09 13:26:00 -04:00
parent 1d420f5430
commit 248dea3402

View File

@ -83,8 +83,7 @@ namespace AaxDecrypter
} }
var speedup = (int)(aaxFile.Duration.TotalSeconds / (long)Elapsed.TotalSeconds); var speedup = (int)(aaxFile.Duration.TotalSeconds / (long)Elapsed.TotalSeconds);
Console.WriteLine("Speedup is " + speedup + "x realtime."); Serilog.Log.Logger.Information($"Speedup is {speedup}x realtime.");
Console.WriteLine("Done");
return true; return true;
} }