1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Specifiy importer name during pause/resume in logs

This commit is contained in:
Salman Ahmed 2023-01-09 19:53:41 +03:00
parent 811a562608
commit a1fbfe4b8b

View File

@ -561,7 +561,7 @@ namespace osu.Game.Database
if (!PauseImports) if (!PauseImports)
return; return;
Logger.Log(@"Import is being paused."); Logger.Log($@"{GetType().Name} is being paused.");
while (PauseImports) while (PauseImports)
{ {
@ -569,7 +569,7 @@ namespace osu.Game.Database
Thread.Sleep(500); Thread.Sleep(500);
} }
Logger.Log(@"Import is being resumed."); Logger.Log($@"{GetType().Name} is being resumed.");
} }
private IEnumerable<string> getIDs(IEnumerable<INamedFile> files) private IEnumerable<string> getIDs(IEnumerable<INamedFile> files)