From 376839f643d499ace75b3731ef70d3672ddabc64 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 14 Dec 2014 17:44:21 +0000 Subject: [PATCH] Added two logging statements. --- src/backend/game.cpp | 1 + src/gui/handler.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/backend/game.cpp b/src/backend/game.cpp index 3616972d..d41e3286 100644 --- a/src/backend/game.cpp +++ b/src/backend/game.cpp @@ -675,6 +675,7 @@ namespace loot { unordered_map tempMap; std::vector 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()); diff --git a/src/gui/handler.cpp b/src/gui/handler.cpp index 5ead8684..2dcbf9af 100644 --- a/src/gui/handler.cpp +++ b/src/gui/handler.cpp @@ -1011,6 +1011,7 @@ namespace loot { } void Handler::SendProgressUpdate(CefRefPtr frame, const std::string& message) { + BOOST_LOG_TRIVIAL(trace) << "Sending progress update: " << message; frame->ExecuteJavaScript("showProgress('" + message + "');", frame->GetURL(), 0); }