MassManager: use Logger _everywhere_.
This commit is contained in:
parent
1421257c4f
commit
51b25ea9c5
1 changed files with 3 additions and 3 deletions
|
@ -203,16 +203,16 @@ void MassManager::refreshStagedMasses() {
|
||||||
|
|
||||||
auto list_view = file_list->exceptSuffix(file_list->end() - iter);
|
auto list_view = file_list->exceptSuffix(file_list->end() - iter);
|
||||||
|
|
||||||
Utility::Debug{} << "Scanning for staged M.A.S.S.es...";
|
LOG_INFO("Scanning for staged M.A.S.S.es...");
|
||||||
for(Containers::StringView file : list_view) {
|
for(Containers::StringView file : list_view) {
|
||||||
auto name = Mass::getNameFromFile(Utility::Path::join(_stagingAreaDirectory, file));
|
auto name = Mass::getNameFromFile(Utility::Path::join(_stagingAreaDirectory, file));
|
||||||
|
|
||||||
if(name) {
|
if(name) {
|
||||||
Utility::Debug{} << "Found staged M.A.S.S.:" << *name;
|
LOG_INFO_FORMAT("Found staged M.A.S.S.: {}", *name);
|
||||||
_stagedMasses[file] = *name;
|
_stagedMasses[file] = *name;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Utility::Warning{} << "Skipped:" << file;
|
LOG_WARNING_FORMAT("Skipped {}.", file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue