mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
chore: Cleanup logs slightly
This commit is contained in:
@@ -146,7 +146,7 @@ namespace hex {
|
||||
}
|
||||
|
||||
void LayoutManager::lockLayout(bool locked) {
|
||||
log::info("Layout {}", locked ? "locked" : "unlocked");
|
||||
log::debug("Layout {}", locked ? "locked" : "unlocked");
|
||||
s_layoutLocked = locked;
|
||||
}
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@ namespace hex {
|
||||
|
||||
void WorkspaceManager::process() {
|
||||
if (s_previousWorkspace != s_currentWorkspace) {
|
||||
log::info("Updating workspace");
|
||||
log::debug("Updating workspace");
|
||||
if (s_previousWorkspace != s_workspaces->end()) {
|
||||
auto newWorkspace = s_currentWorkspace;
|
||||
s_currentWorkspace = s_previousWorkspace;
|
||||
|
||||
@@ -20,7 +20,6 @@ namespace hex::plugin::builtin {
|
||||
for (const auto &romfsPath : romfs::list(extractFolder)) {
|
||||
for (const auto &imhexPath : paths::getDataPaths(false)) {
|
||||
const auto path = imhexPath / std::fs::relative(romfsPath, extractFolder);
|
||||
log::info("Extracting {} to {}", romfsPath.string(), path.string());
|
||||
if (!alwaysExtract && wolv::io::fs::exists(path))
|
||||
continue;
|
||||
|
||||
@@ -31,8 +30,10 @@ namespace hex::plugin::builtin {
|
||||
auto data = romfs::get(romfsPath).span<u8>();
|
||||
file.writeBuffer(data.data(), data.size());
|
||||
|
||||
if (file.getSize() == data.size())
|
||||
if (file.getSize() == data.size()) {
|
||||
log::info("Extracting {} to {}", romfsPath.string(), path.string());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user