mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Added two logging statements.
This commit is contained in:
@@ -675,6 +675,7 @@ namespace loot {
|
||||
unordered_map<std::string, uintmax_t> tempMap;
|
||||
std::vector<Plugin*> groupPlugins;
|
||||
//First calculate the mean plugin size. Store it temporarily in a map to reduce filesystem lookups and file size recalculation.
|
||||
BOOST_LOG_TRIVIAL(trace) << "Scanning for plugins in " << this->DataPath();
|
||||
for (fs::directory_iterator it(this->DataPath()); it != fs::directory_iterator(); ++it) {
|
||||
if (fs::is_regular_file(it->status()) && this->IsValidPlugin(it->path().filename().string())) {
|
||||
uintmax_t fileSize = fs::file_size(it->path());
|
||||
|
||||
@@ -1011,6 +1011,7 @@ namespace loot {
|
||||
}
|
||||
|
||||
void Handler::SendProgressUpdate(CefRefPtr<CefFrame> frame, const std::string& message) {
|
||||
BOOST_LOG_TRIVIAL(trace) << "Sending progress update: " << message;
|
||||
frame->ExecuteJavaScript("showProgress('" + message + "');", frame->GetURL(), 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user