Refactor logging to use util::logf and add log utility header

This commit is contained in:
scawful
2025-01-22 13:36:37 -05:00
parent a5b94ab173
commit b245b10963
9 changed files with 75 additions and 50 deletions

View File

@@ -9,6 +9,7 @@
#include "app/rom.h"
#include "app/zelda3/overworld/overworld.h"
#include "util/hex.h"
#include "util/log.h"
namespace yaze {
namespace zelda3 {
@@ -77,7 +78,7 @@ void OverworldMap::LoadAreaInfo() {
message_id_ = message_id.value();
} else {
message_id_ = 0;
core::logf("Error reading message id for map %d", parent_);
util::logf("Error reading message id for map %d", parent_);
}
if (index_ < kDarkWorldMapIdStart) {