Correct some log categories, add UI category, some warning fixes

This commit is contained in:
Henrik Rydgård committed 2025-04-09 13:45:21 +02:00
1 parent e90b91701f
commit 91bf4d5b5c
13 files changed
+104 -104

No files matched your search

+2 -2
View File
@@ -250,7 +250,7 @@ std::vector<File::FileInfo> Android_ListContentUri(const std::string &uri, const
} else if (ParseFileInfo(line, &info)) {
// We can just reconstruct the URI.
info.fullName = Path(uri) / info.name;
// INFO_LOG(Log::FileSystem, "%s", info.name.c_str());
// INFO_LOG(Log::IO, "%s", info.name.c_str());
items.push_back(info);
}
}
@@ -262,7 +262,7 @@ std::vector<File::FileInfo> Android_ListContentUri(const std::string &uri, const
double elapsed = time_now_d() - start;
double threshold = 0.1;
if (elapsed >= threshold) {
INFO_LOG(Log::FileSystem, "Listing directory on content URI '%s' took %0.3f s (%d files, log threshold = %0.3f)", uri.c_str(), elapsed, (int)items.size(), threshold);
INFO_LOG(Log::IO, "Listing directory on content URI '%s' took %0.3f s (%d files, log threshold = %0.3f)", uri.c_str(), elapsed, (int)items.size(), threshold);
}
return items;
}