Change important printfs to lg::print (#3355)

This allows them to be logged into a file, useful for debugging.

With this, GOAL `format` and C-kernel `Msg` (and its variants) will be
logged.
This commit is contained in:
ManDude
2024-02-01 18:01:41 +00:00
committed by GitHub
parent b331d16bcc
commit d67b441dac
21 changed files with 124 additions and 80 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ void InstallHandler(u32 handler_idx, u32 handler_func) {
vif1_interrupt_handler = handler_func;
break;
default:
printf("unknown handler: %d\n", handler_idx);
lg::error("unknown handler: {}\n", handler_idx);
ASSERT(false);
}
}