mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
Introduce Platform::Log
(#1640)
* Add Platform::Log and Platform::LogLevel * Replace most printf calls with Platform::Log calls * Move a brace down * Move some log entries to one Log call - Some implementations of Log may assume a full line * Log the MAC address as LogLevel::Info
This commit is contained in:

committed by
GitHub

parent
19280cff2d
commit
79dfb8dc8f
@ -29,6 +29,8 @@
|
||||
#include "CheatsDialog.h"
|
||||
#include "ui_CheatsDialog.h"
|
||||
|
||||
using Platform::Log;
|
||||
using Platform::LogLevel;
|
||||
|
||||
CheatsDialog* CheatsDialog::currentDlg = nullptr;
|
||||
|
||||
@ -150,7 +152,7 @@ void CheatsDialog::on_btnNewARCode_clicked()
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("what?? :(\n");
|
||||
Log(LogLevel::Warn, "what?? :(\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user