Refactor logging system to use LOG_* macros
- Updated logging calls in main.cc, rom.cc, and test_manager.cc to utilize the new LOG_* macros for consistency and improved readability. - Removed deprecated util::logf function and replaced its usage with appropriate logging macros. - Enhanced logging in TestManager to provide more detailed information about ROM state and testing processes. - Cleaned up commented-out logf calls in room.cc to streamline the code. - Adjusted LogManager to support general logging through a new logf function for non-category specific messages.
This commit is contained in:
@@ -64,7 +64,8 @@ absl::Status CreateWindow(Window& window, int flags) {
|
||||
auto status = theme_manager.LoadTheme("YAZE Classic");
|
||||
if (!status.ok()) {
|
||||
// Theme system failed, stick with original ColorsYaze()
|
||||
util::logf("Theme system failed, using original ColorsYaze(): %s", status.message().data());
|
||||
LOG_WARN("Window", "Theme system failed, using original ColorsYaze(): %s",
|
||||
status.message().data());
|
||||
}
|
||||
|
||||
const int audio_frequency = 48000;
|
||||
|
||||
Reference in New Issue
Block a user