mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 08:27:49 +08:00
Add logging of progress every so often
This commit is contained in:
parent
bfa90e9dcb
commit
5ab3815123
@ -380,7 +380,8 @@ namespace osu.Game
|
||||
notification.Text = notification.Text.ToString().Split('(').First().TrimEnd() + $" ({processedCount} of {totalCount})";
|
||||
notification.Progress = (float)processedCount / totalCount;
|
||||
|
||||
// TODO add log output
|
||||
if (processedCount % 100 == 0)
|
||||
Logger.Log(notification.Text.ToString());
|
||||
}
|
||||
|
||||
private void completeNotification(ProgressNotification? notification, int processedCount, int totalCount, int? failedCount = null)
|
||||
|
Loading…
Reference in New Issue
Block a user