kernel: Migrate logging macros to fmt-compatible ones

This commit is contained in:
Lioncash 2018-04-25 19:11:22 -04:00
parent 23d68a07dc
commit 40dee76c57
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7
11 changed files with 109 additions and 106 deletions

View file

@ -77,7 +77,7 @@ void Timer::WakeupAllWaitingThreads() {
}
void Timer::Signal(int cycles_late) {
LOG_TRACE(Kernel, "Timer %u fired", GetObjectId());
NGLOG_TRACE(Kernel, "Timer {} fired", GetObjectId());
signaled = true;
@ -97,7 +97,7 @@ static void TimerCallback(u64 timer_handle, int cycles_late) {
timer_callback_handle_table.Get<Timer>(static_cast<Handle>(timer_handle));
if (timer == nullptr) {
LOG_CRITICAL(Kernel, "Callback fired for invalid timer %08" PRIx64, timer_handle);
NGLOG_CRITICAL(Kernel, "Callback fired for invalid timer {:016X}", timer_handle);
return;
}