chore: Cleanup logs slightly

This commit is contained in:
WerWolv
2026-01-07 21:27:41 +01:00
parent edbd8a811e
commit f4b2be9334
3 changed files with 5 additions and 4 deletions

View File

@@ -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;
}

View File

@@ -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;

View File

@@ -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;
}
}
}